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

Hadoop: Output File Has Double Output

I am running a Hadoop program and have the following as my input file, input.txt: 1 2 mapper.py: i… Read more Hadoop: Output File Has Double Output

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

Reading And Writing From Hive Tables With Spark After Aggregation

We have a hive warehouse, and wanted to use spark for various tasks (mainly classification). At tim… Read more Reading And Writing From Hive Tables With Spark After Aggregation

Spark On Windows 10. 'files\spark\bin\..\jars""\' Is Not Recognized As An Internal Or External Command

I am very frustrated by Spark. An evening wasted thinking that I was doing something wrong but I ha… Read more Spark On Windows 10. 'files\spark\bin\..\jars""\' Is Not Recognized As An Internal Or External Command

Unpickle File From Hdfs

I'm currently using Python 3 and would like to load a pickle file out of HDFS. from pywebhdfs.… Read more Unpickle File From Hdfs

Launch Hadoop Mapreduce Job Via Python Without Putty/ssh

I have been running Hadoop MapReduce jobs by logging into SSH via PuTTy which requires that I enter… Read more Launch Hadoop Mapreduce Job Via Python Without Putty/ssh

Why "importerror: No Module Named Builtins" Appears After Importing Hive From Pyhive Package?

I have a simple question to ask. I have been trying to execute HIVE queries from Python using impyl… Read more Why "importerror: No Module Named Builtins" Appears After Importing Hive From Pyhive Package?

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

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."

Delimiting Carat A In Python

I have data in form: 37101000ssd48800^A1420asd938987^A2011-09-10^A18:47:50.000^A99.00^A1^A0^A 37101… Read more Delimiting Carat A In Python

Read A Distributed Tab Delimited Csv

Inspired from this question, I wrote some code to store an RDD (which was read from a Parquet file)… Read more Read A Distributed Tab Delimited Csv

/bin/sh: Line 62: To: Command Not Found

I have a python code in which I am calling a shell command. The part of the code where I did the sh… Read more /bin/sh: Line 62: To: Command Not Found

Hadoop Streaming: Where Are Application Logs?

My question is similar to : hadoop streaming: how to see application logs? (The link in the answer … Read more Hadoop Streaming: Where Are Application Logs?

Connect To Impala Using Impyla Client With Kerberos Auth

I'm on a W8 machine, where I use Python (Anaconda distribution) to connect to Impala in our Had… Read more Connect To Impala Using Impyla Client With Kerberos Auth

Write Data From Pyspark To Elasticsearch

I followed this article to send some data to AWS ES, and I used the jar elasticsearch-hadoop. Here … Read more Write Data From Pyspark To Elasticsearch

Hadoop Streaming With Python: Keeping Track Of Line Numbers

I am trying to do what should be a simple task: I need to convert a text file to upper case using H… Read more Hadoop Streaming With Python: Keeping Track Of Line Numbers

How To Populate A Postgresql Database With Mrjob And Hadoop

I would like to populate a database of Postgresql by using a mapper with MrJob and Hadoop 2.7.1. I … Read more How To Populate A Postgresql Database With Mrjob And Hadoop