Re: Why hdfs don't have current working directory

2017-05-26 Thread Ranadip Chatterjee
You could also use the pig shell which has always had the basic posix-like navigation commands like pwd and cd. On 26 May 2017 18:55, "Tanvir Rahman" wrote: > Hi Sidharth, > You can check the below HDFS shell tool. > https://github.com/avast/hdfs-

Re: Why hdfs don't have current working directory

2017-05-26 Thread Tanvir Rahman
Hi Sidharth, You can check the below HDFS shell tool. https://github.com/avast/hdfs- shell *Feature highlights* - HDFS DFS command initiates JVM for each command call, HDFS Shell does

Re: Why hdfs don't have current working directory

2017-05-26 Thread Sidharth Kumar
Thanks, I'll check it out. Sidharth On 26-May-2017 4:10 PM, "Hariharan" wrote: > The concept of working directory is only useful for processes, and HDFS > does not have executables. I guess what you're looking for is absolute vs > relative paths (so that you can do

Re: Why hdfs don't have current working directory

2017-05-26 Thread Hariharan
The concept of working directory is only useful for processes, and HDFS does not have executables. I guess what you're looking for is absolute vs relative paths (so that you can do something like hdfs cat foo instead of hdfs cat /user/me/foo). HDFS does have this to a limited extent - if your path

Re: Why hdfs don't have current working directory

2017-05-26 Thread Shashwat Shriparv
If you can write an HDFS shell you can have pwd and cd. *Warm Regards,* *Shashwat Shriparv* *http://bit.ly/14cHpad * *http://goo.gl/rxz0z8 * *http://goo.gl/RKyqO8 * http://helpmetocode.blogspot.in/

Why hdfs don't have current working directory

2017-05-26 Thread Sidharth Kumar
Hi, Can you kindly explain me why hdfs doesnt have current directory concept. Why Hadoop is not implement to use pwd? Why command like cd and PWD cannot be implemented in hdfs? Regards Sidharth Mob: +91 819799 LinkedIn: www.linkedin.com/in/sidharthkumar2792

Hive query failed with 'Cannot obtain block length' exception

2017-05-26 Thread Igor Kuzmenko
Some of my hive queries failing into this exception: Failure while running task:java.lang.RuntimeException: java.lang.RuntimeException: java.io.IOException: java.io.IOException: Cannot obtain block length for LocatedBlock{BP-2028945280-10.35.63.1-1481200988158:blk_1088997479_15461734;