Skip to content Skip to sidebar Skip to footer
Showing posts with the label Hadoop

Encountered Ioexception While Registering Python Udf In Pig. File Helloworld.py Does Not Exist

Pytjon UDF : @outputSchema('word:chararray') def helloworld(): return 'Hello, World&#… Read more Encountered Ioexception While Registering Python Udf In Pig. File Helloworld.py Does Not Exist

Pyhive, Sqlalchemy Can Not Connect To Hadoop Sandbox

I have installed, pip install thrift pip install PyHive pip install thrift-sasl and since pip ins… Read more Pyhive, Sqlalchemy Can Not Connect To Hadoop Sandbox

Subprocess Popen To Run Commands (hdfs/hadoop)

I am trying to use subprocess.popen to run commands on my machine. This is what I have so far cmdve… Read more Subprocess Popen To Run Commands (hdfs/hadoop)

Mapreduce How To Allow Mapper To Read An Xml File For Lookup

In my MapReduce jobs, I pass a product name to the Mapper as a string argument. The Mapper.py scrip… Read more Mapreduce How To Allow Mapper To Read An Xml File For Lookup

Get A List Of Subdirectories

I know I can do this: data = sc.textFile('/hadoop_foo/a') data.count() 240 data = sc.textFi… Read more Get A List Of Subdirectories

Aws Elastic Mapreduce Doesn't Seem To Be Correctly Converting The Streaming To Jar

I have a mapper and reducer that work fine when I run them in the piped version: cat data.csv | ./m… Read more Aws Elastic Mapreduce Doesn't Seem To Be Correctly Converting The Streaming To Jar

Get List Of Files From Hdfs (hadoop) Directory Using Python Script

How to get a list of files from hdfs (hadoop) directory using python script? I have tried with foll… Read more Get List Of Files From Hdfs (hadoop) Directory Using Python Script

I Want To Call Hdfs Rest Api To Upload A File

I want to call HDFS REST api to upload a file using httplib. My program created the file, but no co… Read more I Want To Call Hdfs Rest Api To Upload A File

Hadoop-streaming : Reduce Task In Pending State Says "no Room For Reduce Task."

My map task completes successfully and I can see the application logs, but reducer stays in pending… Read more Hadoop-streaming : Reduce Task In Pending State Says "no Room For Reduce Task."

List All Files In Hdfs Python Without Pydoop

I have a hadoop cluster running on centos 6.5. I am currently using python 2.6. For unrelated reaso… Read more List All Files In Hdfs Python Without Pydoop

Is It Possible To Save Files In Hadoop Without Saving Them In Local File System?

Is it possible to save files in Hadoop without saving them in local file system? I would like to do… Read more Is It Possible To Save Files In Hadoop Without Saving Them In Local File System?

Pyspark --py-files Doesn't Work

I use this as document suggests http://spark.apache.org/docs/1.1.1/submitting-applications.html sp… Read more Pyspark --py-files Doesn't Work

How To Run A Mrjob In A Local Hadoop Cluster With Hadoop Streaming?

I'm currently taking a Big Data Class, and one of my projects is to run my Mapper/Reducer on a … Read more How To Run A Mrjob In A Local Hadoop Cluster With Hadoop Streaming?

Hive ParseException In Drop Table Statement

I'm using python and pyodbc module in particular to execute Hive queries on Hadoop. The portion… Read more Hive ParseException In Drop Table Statement

Why Am I Getting These Strange Connection Errors When Reading Or Writing To Hadoop File System With A Python Script?

I wrote a python code to read and write to a hadoop file system with IP hdfs_ip. It takes 3 argumen… Read more Why Am I Getting These Strange Connection Errors When Reading Or Writing To Hadoop File System With A Python Script?