You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by Christian Schuhegger <Ch...@gmx.de> on 2014/02/01 10:24:34 UTC

Is it possible to access a hadoop 1 file system (hdfs) via the hadoop 2.2.0 command line tools?

Hello all,

I am trying to access a hadoop 1 installation via the hadoop 2.2.0 
command line tools. I am wondering if this is possible at all?

 From hadoop 1 I get:
-- snip start --
cs:~$ hadoop fs -ls hdfs://127.0.0.1:9000/
Found 2 items
drwxr-xr-x   - cs supergroup          0 2014-02-01 08:18 /tmp
drwxr-xr-x   - cs supergroup          0 2014-02-01 08:19 /user
-- snip end --

 From hadoop 2.2.0 I get:
-- snip start --
cs:~$ hadoop fs -ls hdfs://127.0.0.1:9000/
ls: Failed on local exception: java.io.EOFException; Host Details : 
local host is: "i7/127.0.1.1"; destination host is: "localhost":9000;
-- snip end --

I am trying to find this information via a web-search, but up to now no 
success.

Many thanks and best regards!
-- 
Christian Schuhegger



Re: Is it possible to access a hadoop 1 file system (hdfs) via the hadoop 2.2.0 command line tools?

Posted by Haohui Mai <hm...@hortonworks.com>.
You can use webhdfs / hftp to access the data from the Hadoop 1 cluster.

Haohui


On Sat, Feb 1, 2014 at 2:39 AM, Jitendra Yadav
<je...@gmail.com>wrote:

> In this case I believe Hadoop client version should be same as Hadoop
> cluster version.
>
> Thanks
> Jitendra
>
>
> On Sat, Feb 1, 2014 at 2:54 PM, Christian Schuhegger <
> Christian.Schuhegger@gmx.de> wrote:
>
>> Hello all,
>>
>> I am trying to access a hadoop 1 installation via the hadoop 2.2.0
>> command line tools. I am wondering if this is possible at all?
>>
>> From hadoop 1 I get:
>> -- snip start --
>> cs:~$ hadoop fs -ls hdfs://127.0.0.1:9000/
>> Found 2 items
>> drwxr-xr-x   - cs supergroup          0 2014-02-01 08:18 /tmp
>> drwxr-xr-x   - cs supergroup          0 2014-02-01 08:19 /user
>> -- snip end --
>>
>> From hadoop 2.2.0 I get:
>> -- snip start --
>> cs:~$ hadoop fs -ls hdfs://127.0.0.1:9000/
>> ls: Failed on local exception: java.io.EOFException; Host Details : local
>> host is: "i7/127.0.1.1"; destination host is: "localhost":9000;
>> -- snip end --
>>
>> I am trying to find this information via a web-search, but up to now no
>> success.
>>
>> Many thanks and best regards!
>> --
>> Christian Schuhegger
>>
>>
>>
>

-- 
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to 
which it is addressed and may contain information that is confidential, 
privileged and exempt from disclosure under applicable law. If the reader 
of this message is not the intended recipient, you are hereby notified that 
any printing, copying, dissemination, distribution, disclosure or 
forwarding of this communication is strictly prohibited. If you have 
received this communication in error, please contact the sender immediately 
and delete it from your system. Thank You.

Re: Is it possible to access a hadoop 1 file system (hdfs) via the hadoop 2.2.0 command line tools?

Posted by Haohui Mai <hm...@hortonworks.com>.
You can use webhdfs / hftp to access the data from the Hadoop 1 cluster.

Haohui


On Sat, Feb 1, 2014 at 2:39 AM, Jitendra Yadav
<je...@gmail.com>wrote:

> In this case I believe Hadoop client version should be same as Hadoop
> cluster version.
>
> Thanks
> Jitendra
>
>
> On Sat, Feb 1, 2014 at 2:54 PM, Christian Schuhegger <
> Christian.Schuhegger@gmx.de> wrote:
>
>> Hello all,
>>
>> I am trying to access a hadoop 1 installation via the hadoop 2.2.0
>> command line tools. I am wondering if this is possible at all?
>>
>> From hadoop 1 I get:
>> -- snip start --
>> cs:~$ hadoop fs -ls hdfs://127.0.0.1:9000/
>> Found 2 items
>> drwxr-xr-x   - cs supergroup          0 2014-02-01 08:18 /tmp
>> drwxr-xr-x   - cs supergroup          0 2014-02-01 08:19 /user
>> -- snip end --
>>
>> From hadoop 2.2.0 I get:
>> -- snip start --
>> cs:~$ hadoop fs -ls hdfs://127.0.0.1:9000/
>> ls: Failed on local exception: java.io.EOFException; Host Details : local
>> host is: "i7/127.0.1.1"; destination host is: "localhost":9000;
>> -- snip end --
>>
>> I am trying to find this information via a web-search, but up to now no
>> success.
>>
>> Many thanks and best regards!
>> --
>> Christian Schuhegger
>>
>>
>>
>

-- 
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to 
which it is addressed and may contain information that is confidential, 
privileged and exempt from disclosure under applicable law. If the reader 
of this message is not the intended recipient, you are hereby notified that 
any printing, copying, dissemination, distribution, disclosure or 
forwarding of this communication is strictly prohibited. If you have 
received this communication in error, please contact the sender immediately 
and delete it from your system. Thank You.

Re: Is it possible to access a hadoop 1 file system (hdfs) via the hadoop 2.2.0 command line tools?

Posted by Haohui Mai <hm...@hortonworks.com>.
You can use webhdfs / hftp to access the data from the Hadoop 1 cluster.

Haohui


On Sat, Feb 1, 2014 at 2:39 AM, Jitendra Yadav
<je...@gmail.com>wrote:

> In this case I believe Hadoop client version should be same as Hadoop
> cluster version.
>
> Thanks
> Jitendra
>
>
> On Sat, Feb 1, 2014 at 2:54 PM, Christian Schuhegger <
> Christian.Schuhegger@gmx.de> wrote:
>
>> Hello all,
>>
>> I am trying to access a hadoop 1 installation via the hadoop 2.2.0
>> command line tools. I am wondering if this is possible at all?
>>
>> From hadoop 1 I get:
>> -- snip start --
>> cs:~$ hadoop fs -ls hdfs://127.0.0.1:9000/
>> Found 2 items
>> drwxr-xr-x   - cs supergroup          0 2014-02-01 08:18 /tmp
>> drwxr-xr-x   - cs supergroup          0 2014-02-01 08:19 /user
>> -- snip end --
>>
>> From hadoop 2.2.0 I get:
>> -- snip start --
>> cs:~$ hadoop fs -ls hdfs://127.0.0.1:9000/
>> ls: Failed on local exception: java.io.EOFException; Host Details : local
>> host is: "i7/127.0.1.1"; destination host is: "localhost":9000;
>> -- snip end --
>>
>> I am trying to find this information via a web-search, but up to now no
>> success.
>>
>> Many thanks and best regards!
>> --
>> Christian Schuhegger
>>
>>
>>
>

-- 
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to 
which it is addressed and may contain information that is confidential, 
privileged and exempt from disclosure under applicable law. If the reader 
of this message is not the intended recipient, you are hereby notified that 
any printing, copying, dissemination, distribution, disclosure or 
forwarding of this communication is strictly prohibited. If you have 
received this communication in error, please contact the sender immediately 
and delete it from your system. Thank You.

Re: Is it possible to access a hadoop 1 file system (hdfs) via the hadoop 2.2.0 command line tools?

Posted by Haohui Mai <hm...@hortonworks.com>.
You can use webhdfs / hftp to access the data from the Hadoop 1 cluster.

Haohui


On Sat, Feb 1, 2014 at 2:39 AM, Jitendra Yadav
<je...@gmail.com>wrote:

> In this case I believe Hadoop client version should be same as Hadoop
> cluster version.
>
> Thanks
> Jitendra
>
>
> On Sat, Feb 1, 2014 at 2:54 PM, Christian Schuhegger <
> Christian.Schuhegger@gmx.de> wrote:
>
>> Hello all,
>>
>> I am trying to access a hadoop 1 installation via the hadoop 2.2.0
>> command line tools. I am wondering if this is possible at all?
>>
>> From hadoop 1 I get:
>> -- snip start --
>> cs:~$ hadoop fs -ls hdfs://127.0.0.1:9000/
>> Found 2 items
>> drwxr-xr-x   - cs supergroup          0 2014-02-01 08:18 /tmp
>> drwxr-xr-x   - cs supergroup          0 2014-02-01 08:19 /user
>> -- snip end --
>>
>> From hadoop 2.2.0 I get:
>> -- snip start --
>> cs:~$ hadoop fs -ls hdfs://127.0.0.1:9000/
>> ls: Failed on local exception: java.io.EOFException; Host Details : local
>> host is: "i7/127.0.1.1"; destination host is: "localhost":9000;
>> -- snip end --
>>
>> I am trying to find this information via a web-search, but up to now no
>> success.
>>
>> Many thanks and best regards!
>> --
>> Christian Schuhegger
>>
>>
>>
>

-- 
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to 
which it is addressed and may contain information that is confidential, 
privileged and exempt from disclosure under applicable law. If the reader 
of this message is not the intended recipient, you are hereby notified that 
any printing, copying, dissemination, distribution, disclosure or 
forwarding of this communication is strictly prohibited. If you have 
received this communication in error, please contact the sender immediately 
and delete it from your system. Thank You.

Re: Is it possible to access a hadoop 1 file system (hdfs) via the hadoop 2.2.0 command line tools?

Posted by Jitendra Yadav <je...@gmail.com>.
In this case I believe Hadoop client version should be same as Hadoop
cluster version.

Thanks
Jitendra


On Sat, Feb 1, 2014 at 2:54 PM, Christian Schuhegger <
Christian.Schuhegger@gmx.de> wrote:

> Hello all,
>
> I am trying to access a hadoop 1 installation via the hadoop 2.2.0 command
> line tools. I am wondering if this is possible at all?
>
> From hadoop 1 I get:
> -- snip start --
> cs:~$ hadoop fs -ls hdfs://127.0.0.1:9000/
> Found 2 items
> drwxr-xr-x   - cs supergroup          0 2014-02-01 08:18 /tmp
> drwxr-xr-x   - cs supergroup          0 2014-02-01 08:19 /user
> -- snip end --
>
> From hadoop 2.2.0 I get:
> -- snip start --
> cs:~$ hadoop fs -ls hdfs://127.0.0.1:9000/
> ls: Failed on local exception: java.io.EOFException; Host Details : local
> host is: "i7/127.0.1.1"; destination host is: "localhost":9000;
> -- snip end --
>
> I am trying to find this information via a web-search, but up to now no
> success.
>
> Many thanks and best regards!
> --
> Christian Schuhegger
>
>
>

Re: Is it possible to access a hadoop 1 file system (hdfs) via the hadoop 2.2.0 command line tools?

Posted by Jitendra Yadav <je...@gmail.com>.
In this case I believe Hadoop client version should be same as Hadoop
cluster version.

Thanks
Jitendra


On Sat, Feb 1, 2014 at 2:54 PM, Christian Schuhegger <
Christian.Schuhegger@gmx.de> wrote:

> Hello all,
>
> I am trying to access a hadoop 1 installation via the hadoop 2.2.0 command
> line tools. I am wondering if this is possible at all?
>
> From hadoop 1 I get:
> -- snip start --
> cs:~$ hadoop fs -ls hdfs://127.0.0.1:9000/
> Found 2 items
> drwxr-xr-x   - cs supergroup          0 2014-02-01 08:18 /tmp
> drwxr-xr-x   - cs supergroup          0 2014-02-01 08:19 /user
> -- snip end --
>
> From hadoop 2.2.0 I get:
> -- snip start --
> cs:~$ hadoop fs -ls hdfs://127.0.0.1:9000/
> ls: Failed on local exception: java.io.EOFException; Host Details : local
> host is: "i7/127.0.1.1"; destination host is: "localhost":9000;
> -- snip end --
>
> I am trying to find this information via a web-search, but up to now no
> success.
>
> Many thanks and best regards!
> --
> Christian Schuhegger
>
>
>

Re: Is it possible to access a hadoop 1 file system (hdfs) via the hadoop 2.2.0 command line tools?

Posted by Jitendra Yadav <je...@gmail.com>.
In this case I believe Hadoop client version should be same as Hadoop
cluster version.

Thanks
Jitendra


On Sat, Feb 1, 2014 at 2:54 PM, Christian Schuhegger <
Christian.Schuhegger@gmx.de> wrote:

> Hello all,
>
> I am trying to access a hadoop 1 installation via the hadoop 2.2.0 command
> line tools. I am wondering if this is possible at all?
>
> From hadoop 1 I get:
> -- snip start --
> cs:~$ hadoop fs -ls hdfs://127.0.0.1:9000/
> Found 2 items
> drwxr-xr-x   - cs supergroup          0 2014-02-01 08:18 /tmp
> drwxr-xr-x   - cs supergroup          0 2014-02-01 08:19 /user
> -- snip end --
>
> From hadoop 2.2.0 I get:
> -- snip start --
> cs:~$ hadoop fs -ls hdfs://127.0.0.1:9000/
> ls: Failed on local exception: java.io.EOFException; Host Details : local
> host is: "i7/127.0.1.1"; destination host is: "localhost":9000;
> -- snip end --
>
> I am trying to find this information via a web-search, but up to now no
> success.
>
> Many thanks and best regards!
> --
> Christian Schuhegger
>
>
>

Re: Is it possible to access a hadoop 1 file system (hdfs) via the hadoop 2.2.0 command line tools?

Posted by Jitendra Yadav <je...@gmail.com>.
In this case I believe Hadoop client version should be same as Hadoop
cluster version.

Thanks
Jitendra


On Sat, Feb 1, 2014 at 2:54 PM, Christian Schuhegger <
Christian.Schuhegger@gmx.de> wrote:

> Hello all,
>
> I am trying to access a hadoop 1 installation via the hadoop 2.2.0 command
> line tools. I am wondering if this is possible at all?
>
> From hadoop 1 I get:
> -- snip start --
> cs:~$ hadoop fs -ls hdfs://127.0.0.1:9000/
> Found 2 items
> drwxr-xr-x   - cs supergroup          0 2014-02-01 08:18 /tmp
> drwxr-xr-x   - cs supergroup          0 2014-02-01 08:19 /user
> -- snip end --
>
> From hadoop 2.2.0 I get:
> -- snip start --
> cs:~$ hadoop fs -ls hdfs://127.0.0.1:9000/
> ls: Failed on local exception: java.io.EOFException; Host Details : local
> host is: "i7/127.0.1.1"; destination host is: "localhost":9000;
> -- snip end --
>
> I am trying to find this information via a web-search, but up to now no
> success.
>
> Many thanks and best regards!
> --
> Christian Schuhegger
>
>
>