HDFS集群之间的通信

时间:2015-09-22 08:42:37

标签: hadoop apache-pig hdfs

在安装过程中,我几乎没有新手问题。让我们说我有3个(让我们命名为A,B,C)不同的Hadoop安装,我只是格式化了B和C.

  1. 是否可以将数据从A复制到B和C?如果是这样,我怎么能 那样做?
  2. 如果我在A上有PIG,猪是否可以从hdfs:// B加载文件 或者hdfs:// C?
  3. 我尝试了以下内容:

    1. 明确使用hadoop distcp hdfs:A hdfs:B,由于此错误而无效:

       Invalid arguments: Call From Z77H2-A3/127.0.1.1 to local.research.com:8020
       failed on connection exception: java.net.ConnectException: Connection
       refused; For more details see: 
       http://wiki.apache.org/hadoop/ConnectionRefused
      
    2. PIG上的结果相同:

      main] ERROR org.apache.pig.tools.grunt.Grunt -
      ERROR 2997: Encountered IOException. Call From
      local.research.com/127.0.0.1 to 192.168.1.48:9000 failed on connection
      exception: java.net.ConnectException: Connection refused; 
      For more details see:  http://wiki.apache.org/hadoop/ConnectionRefused
      

0 个答案:

没有答案
相关问题