Can't open file for writing error



0
Trying to execute HDFS commands assignment and some of the commands are related to copying of files. I am trying to create employee.txt using vi, saving the file gives error Can't open file for writing.

6 Answer(s)


0

Hi Neeraja
Are you using CDH3 or CDH4
Kindly let me know and I will guide you.
Thanks

0

Hi Omair,

I am wondering if possible could you please let us know the differnce between CDH3 or CDH4.

Many Thanks,
Manoj

0

Hi I am using CDH3 and tried running the vm player. But I could not find any hadoop folder in usr/lib.

Can you please help me out

0

Hi Manoj
To answer your question - Hadoop is an open source framework under Apache License.
Although there are many minor versions released - they are broadly categorized as Hadoop 1.0 and Hadoop 2.0

Hadoop 2.0 is still in beta or testing phase and not many companies use it in the production environment. This includes new features like YARN, federation, MapReduce v2 etc - All this will be covered in Module 17.

Cloudera is a private company that gives out its own distribution of Hadoop.
CDH is nothing but Cloudera's Distribution of Hadoop

Now coming back to your question.
CDH3 is Hadoop 1.0
and CDH4 is Hadoop 2.0

Hope this clarifies.
Thanks

0

Hi Preethi

In CDH3 - under /usr/lib/ folder - you should see hadoop and hadoop-0.20 folder - Is hadoop-0.20 folder there or is that also missing.

Can you run the command below and email the screenshot to hadoop@dezyre.com

ls [hH]* -d

Thanks

0

Hi Omair,
Now I am able to access the hadoop folder. Thanks for the quick response.