Skip to content

Tag: hadoop

Hadoop command does not execute from java prcoessbuilder

I have this script. When I execute it from putty, it works properly, but it fails when we execute it using java ProcessBuilder. It fails with “Hadoop command not found” error. Below is the Java code, which I am using to execute script. Answer Problem was the other script. Script one(1) starts Java…

Setting up Hadoop in Pseudo-distributed mode in ubuntu

I’m trying to teach myself Hadoop on my laptop. My objective is to get the pseudo distributed mode running. I’m following the guide from the Apache website to set up Hadoop and HDFS in Ubuntu, but I can’t get it to work. Here are the steps I have followed so far: 1) check Java version: retur…

Starting hadoop – command not found

I have zero experience in hadoop and trying to set up hadoop in ec2 environment. After formatted the filesystem, I tried to start hadoop and it keeps saying command not found. I think I have tried every advice I found on stackoverflow previous questions/answers. Here is the line I am having trouble with: I ha…

Ubuntu: hadoop command not found

I am trying to check my installation of hadoop. I did create the environment variables and when I call printenv, I do see my HADOOP_HOME and PATH variables printed and correct (home/hadoop and HADOOP_HOME/bin respectively). If I go to home/hadoop in the terminal and call ls, I see the hadoop file there. If I …