phoenix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kevin <kiss.kevin...@gmail.com>
Subject Re: error Loading via MapReduce
Date Wed, 11 May 2016 08:19:06 GMT
Thanks,I did't found  fs.defaultFS property be overwritten . And I have
change to use pig to load table data into Phoenix.

2016-05-11 14:23 GMT+08:00 Gabriel Reid <gabriel.reid@gmail.com>:

> Another idea: could you check in
> /home/dcos/hbase-0.98.16.1-hadoop2/conf (or elsewhere) to see if there
> is somewhere where the fs.defaultFS property is being overwritten. For
> example, in hbase-site.xml?
>
> On Wed, May 11, 2016 at 3:59 AM, kevin <kiss.kevin119@gmail.com> wrote:
> > I have tried to modify core-site.xml:
> > <property>
> > <name>hadoop.tmp.dir</name>
> > <value>file:/home/dcos/hdfs/tmp</value> ->>
> > <value>hdfs://master1:9000/tmp</value>
> > </property>
> >
> > then the Loading via MapReduce commond successful build mr job,but this
> > chang is wrong to hadoop the result is my hadoop cluster can't work.
> >
> > 2016-05-11 9:49 GMT+08:00 kevin <kiss.kevin119@gmail.com>:
> >>
> >>
> >> my commond is :
> >> $
> >>
> HADOOP_CLASSPATH=/home/dcos/hbase-0.98.16.1-hadoop2/lib/hbase-protocol-0.98.16.1-hadoop2.jar:/home/dcos/hbase-0.98.16.1-hadoop2/conf
> >> hadoop jar phoenix-4.6.0-HBase-0.98-client.jar
> >> org.apache.phoenix.mapreduce.CsvBulkLoadTool -t income_band -i
> >> /user/hive/warehouse/income_band/income_band.dat
> >>
> >> here is the log on the console:
> >>
> >> 16/05/11 09:25:04 INFO zookeeper.ZooKeeper: Client
> >> environment:java.class.path=
> >> /home/dcos/hadoop-2.7.1/etc/hadoop:    --     this is dir where is my
> >> hadoop config file is.
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/common/lib/commons-configuration-1.6.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/common/lib/curator-client-2.7.1.jar:/home/dcos/hadoop-2.7.1/share/hadoop/common/lib/gson-2.2.4.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/common/lib/activation-1.1.jar:/home/dcos/hadoop-2.7.1/share/hadoop/common/lib/jackson-jaxrs-1.9.13.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/common/lib/jsp-api-2.1.jar:/home/dcos/hadoop-2.7.1/share/hadoop/common/lib/jaxb-impl-2.2.3-1.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/common/lib/apacheds-kerberos-codec-2.0.0-M15.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/common/lib/commons-io-2.4.jar:/home/dcos/hadoop-2.7.1/share/hadoop/common/lib/paranamer-2.3.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/common/lib/httpclient-4.2.5.jar:/home/dcos/hadoop-2.7.1/share/hadoop/common/lib/log4j-1.2.17.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/common/lib/htrace-core-3.1.0-incubating.jar:/home/dcos/hadoop-2.7.1/share/hadoop/common/lib/jets3t-0.9.0.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/common/lib/zookeeper-3.4.6.jar:/home/dcos/hadoop-2.7.1/share/hadoop/common/lib/hadoop-auth-2.7.1.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/common/lib/java-xmlbuilder-0.4.jar:/home/dcos/hadoop-2.7.1/share/hadoop/common/lib/jettison-1.1.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/common/lib/slf4j-api-1.7.10.jar:/home/dcos/hadoop-2.7.1/share/hadoop/common/lib/jersey-server-1.9.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/common/lib/jackson-mapper-asl-1.9.13.jar:/home/dcos/hadoop-2.7.1/share/hadoop/common/lib/avro-1.7.4.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/common/lib/commons-codec-1.4.jar:/home/dcos/hadoop-2.7.1/share/hadoop/common/lib/commons-cli-1.2.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/common/lib/curator-recipes-2.7.1.jar:/home/dcos/hadoop-2.7.1/share/hadoop/common/lib/commons-net-3.1.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/common/lib/jetty-util-6.1.26.jar:/home/dcos/hadoop-2.7.1/share/hadoop/common/lib/protobuf-java-2.5.0.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/common/lib/hadoop-annotations-2.7.1.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/common/lib/netty-3.6.2.Final.jar:/home/dcos/hadoop-2.7.1/share/hadoop/common/lib/commons-digester-1.8.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/common/lib/guava-11.0.2.jar:/home/dcos/hadoop-2.7.1/share/hadoop/common/lib/commons-compress-1.4.1.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/common/lib/jsch-0.1.42.jar:/home/dcos/hadoop-2.7.1/share/hadoop/common/lib/commons-beanutils-1.7.0.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/common/lib/jersey-core-1.9.jar:/home/dcos/hadoop-2.7.1/share/hadoop/common/lib/api-util-1.0.0-M20.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/common/lib/api-asn1-api-1.0.0-M20.jar:/home/dcos/hadoop-2.7.1/share/hadoop/common/lib/xz-1.0.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/common/lib/commons-httpclient-3.1.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/common/lib/commons-beanutils-core-1.8.0.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/common/lib/stax-api-1.0-2.jar:/home/dcos/hadoop-2.7.1/share/hadoop/common/lib/asm-3.2.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/common/lib/jackson-xc-1.9.13.jar:/home/dcos/hadoop-2.7.1/share/hadoop/common/lib/commons-logging-1.1.3.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/common/lib/jersey-json-1.9.jar:/home/dcos/hadoop-2.7.1/share/hadoop/common/lib/jsr305-3.0.0.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/common/lib/commons-collections-3.2.1.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/common/lib/commons-math3-3.1.1.jar:/home/dcos/hadoop-2.7.1/share/hadoop/common/lib/jetty-6.1.26.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/common/lib/snappy-java-1.0.4.1.jar:/home/dcos/hadoop-2.7.1/share/hadoop/common/lib/hamcrest-core-1.3.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/common/lib/jaxb-api-2.2.2.jar:/home/dcos/hadoop-2.7.1/share/hadoop/common/lib/commons-lang-2.6.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/common/lib/junit-4.11.jar:/home/dcos/hadoop-2.7.1/share/hadoop/common/lib/jackson-core-asl-1.9.13.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/common/lib/mockito-all-1.8.5.jar:/home/dcos/hadoop-2.7.1/share/hadoop/common/lib/servlet-api-2.5.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/common/lib/httpcore-4.2.5.jar:/home/dcos/hadoop-2.7.1/share/hadoop/common/lib/curator-framework-2.7.1.jar:
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/common/lib/slf4j-log4j12-1.7.10.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/common/lib/apacheds-i18n-2.0.0-M15.jar:/home/dcos/hadoop-2.7.1/share/hadoop/common/lib/xmlenc-0.52.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/common/hadoop-common-2.7.1.jar:/home/dcos/hadoop-2.7.1/share/hadoop/common/hadoop-common-2.7.1-tests.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/common/hadoop-nfs-2.7.1.jar:/home/dcos/hadoop-2.7.1/share/hadoop/hdfs:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/hdfs/lib/xml-apis-1.3.04.jar:/home/dcos/hadoop-2.7.1/share/hadoop/hdfs/lib/commons-io-2.4.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/hdfs/lib/log4j-1.2.17.jar:/home/dcos/hadoop-2.7.1/share/hadoop/hdfs/lib/htrace-core-3.1.0-incubating.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/hdfs/lib/commons-daemon-1.0.13.jar:/home/dcos/hadoop-2.7.1/share/hadoop/hdfs/lib/jersey-server-1.9.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/hdfs/lib/jackson-mapper-asl-1.9.13.jar:/home/dcos/hadoop-2.7.1/share/hadoop/hdfs/lib/commons-codec-1.4.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/hdfs/lib/commons-cli-1.2.jar:/home/dcos/hadoop-2.7.1/share/hadoop/hdfs/lib/jetty-util-6.1.26.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/hdfs/lib/protobuf-java-2.5.0.jar:/home/dcos/hadoop-2.7.1/share/hadoop/hdfs/lib/xercesImpl-2.9.1.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/hdfs/lib/netty-3.6.2.Final.jar:/home/dcos/hadoop-2.7.1/share/hadoop/hdfs/lib/guava-11.0.2.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/hdfs/lib/jersey-core-1.9.jar:/home/dcos/hadoop-2.7.1/share/hadoop/hdfs/lib/netty-all-4.0.23.Final.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/hdfs/lib/asm-3.2.jar:/home/dcos/hadoop-2.7.1/share/hadoop/hdfs/lib/commons-logging-1.1.3.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/hdfs/lib/jsr305-3.0.0.jar:/home/dcos/hadoop-2.7.1/share/hadoop/hdfs/lib/jetty-6.1.26.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/hdfs/lib/commons-lang-2.6.jar:/home/dcos/hadoop-2.7.1/share/hadoop/hdfs/lib/leveldbjni-all-1.8.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/hdfs/lib/jackson-core-asl-1.9.13.jar:/home/dcos/hadoop-2.7.1/share/hadoop/hdfs/lib/servlet-api-2.5.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/hdfs/lib/xmlenc-0.52.jar:/home/dcos/hadoop-2.7.1/share/hadoop/hdfs/hadoop-hdfs-2.7.1-tests.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/hdfs/hadoop-hdfs-nfs-2.7.1.jar:/home/dcos/hadoop-2.7.1/share/hadoop/hdfs/hadoop-hdfs-2.7.1.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/yarn/lib/activation-1.1.jar:/home/dcos/hadoop-2.7.1/share/hadoop/yarn/lib/jackson-jaxrs-1.9.13.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/yarn/lib/jaxb-impl-2.2.3-1.jar:/home/dcos/hadoop-2.7.1/share/hadoop/yarn/lib/commons-io-2.4.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/yarn/lib/log4j-1.2.17.jar:/home/dcos/hadoop-2.7.1/share/hadoop/yarn/lib/zookeeper-3.4.6.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/yarn/lib/jettison-1.1.jar:/home/dcos/hadoop-2.7.1/share/hadoop/yarn/lib/zookeeper-3.4.6-tests.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/yarn/lib/jersey-server-1.9.jar:/home/dcos/hadoop-2.7.1/share/hadoop/yarn/lib/jackson-mapper-asl-1.9.13.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/yarn/lib/commons-codec-1.4.jar:/home/dcos/hadoop-2.7.1/share/hadoop/yarn/lib/commons-cli-1.2.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/yarn/lib/jetty-util-6.1.26.jar:/home/dcos/hadoop-2.7.1/share/hadoop/yarn/lib/protobuf-java-2.5.0.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/yarn/lib/jersey-client-1.9.jar:/home/dcos/hadoop-2.7.1/share/hadoop/yarn/lib/aopalliance-1.0.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/yarn/lib/netty-3.6.2.Final.jar:/home/dcos/hadoop-2.7.1/share/hadoop/yarn/lib/guava-11.0.2.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/yarn/lib/commons-compress-1.4.1.jar:/home/dcos/hadoop-2.7.1/share/hadoop/yarn/lib/jersey-core-1.9.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/yarn/lib/jersey-guice-1.9.jar:/home/dcos/hadoop-2.7.1/share/hadoop/yarn/lib/guice-3.0.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/yarn/lib/xz-1.0.jar:/home/dcos/hadoop-2.7.1/share/hadoop/yarn/lib/stax-api-1.0-2.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/yarn/lib/asm-3.2.jar:/home/dcos/hadoop-2.7.1/share/hadoop/yarn/lib/jackson-xc-1.9.13.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/yarn/lib/commons-logging-1.1.3.jar:/home/dcos/hadoop-2.7.1/share/hadoop/yarn/lib/jersey-json-1.9.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/yarn/lib/jsr305-3.0.0.jar:/home/dcos/hadoop-2.7.1/share/hadoop/yarn/lib/guice-servlet-3.0.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/yarn/lib/commons-collections-3.2.1.jar:/home/dcos/hadoop-2.7.1/share/hadoop/yarn/lib/jetty-6.1.26.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/yarn/lib/jaxb-api-2.2.2.jar:/home/dcos/hadoop-2.7.1/share/hadoop/yarn/lib/commons-lang-2.6.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/yarn/lib/leveldbjni-all-1.8.jar:/home/dcos/hadoop-2.7.1/share/hadoop/yarn/lib/jackson-core-asl-1.9.13.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/yarn/lib/servlet-api-2.5.jar:/home/dcos/hadoop-2.7.1/share/hadoop/yarn/lib/javax.inject-1.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/yarn/hadoop-yarn-server-common-2.7.1.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/yarn/hadoop-yarn-server-applicationhistoryservice-2.7.1.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/yarn/hadoop-yarn-common-2.7.1.jar:/home/dcos/hadoop-2.7.1/share/hadoop/yarn/hadoop-yarn-api-2.7.1.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/yarn/hadoop-yarn-applications-unmanaged-am-launcher-2.7.1.jar:
> >> /home/dcos/hadoop-2.7.1/share/hadoop/yarn/hadoop-yarn-client-2.7.1.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/yarn/hadoop-yarn-server-resourcemanager-2.7.1.jar:
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/yarn/hadoop-yarn-registry-2.7.1.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/yarn/hadoop-yarn-server-web-proxy-2.7.1.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/yarn/hadoop-yarn-server-sharedcachemanager-2.7.1.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/yarn/hadoop-yarn-server-tests-2.7.1.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/yarn/hadoop-yarn-applications-distributedshell-2.7.1.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/yarn/hadoop-yarn-server-nodemanager-2.7.1.jar:
> >> /home/dcos/hadoop-2.7.1/share/hadoop/mapreduce/lib/commons-io-2.4.jar:
> >> /home/dcos/hadoop-2.7.1/share/hadoop/mapreduce/lib/paranamer-2.3.jar:
> >> /home/dcos/hadoop-2.7.1/share/hadoop/mapreduce/lib/log4j-1.2.17.jar:
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/mapreduce/lib/jersey-server-1.9.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/mapreduce/lib/jackson-mapper-asl-1.9.13.jar:
> >> /home/dcos/hadoop-2.7.1/share/hadoop/mapreduce/lib/avro-1.7.4.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/mapreduce/lib/protobuf-java-2.5.0.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/mapreduce/lib/hadoop-annotations-2.7.1.jar:
> >> /home/dcos/hadoop-2.7.1/share/hadoop/mapreduce/lib/aopalliance-1.0.jar:
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/mapreduce/lib/netty-3.6.2.Final.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/mapreduce/lib/commons-compress-1.4.1.jar:
> >> /home/dcos/hadoop-2.7.1/share/hadoop/mapreduce/lib/jersey-core-1.9.jar:
> >> /home/dcos/hadoop-2.7.1/share/hadoop/mapreduce/lib/jersey-guice-1.9.jar:
> >> /home/dcos/hadoop-2.7.1/share/hadoop/mapreduce/lib/guice-3.0.jar:
> >> /home/dcos/hadoop-2.7.1/share/hadoop/mapreduce/lib/xz-1.0.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/mapreduce/lib/asm-3.2.jar:/home/dcos/hadoop-2.7.1/share/hadoop/mapreduce/lib/guice-servlet-3.0.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/mapreduce/lib/snappy-java-1.0.4.1.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/mapreduce/lib/hamcrest-core-1.3.jar:/home/dcos/hadoop-2.7.1/share/hadoop/mapreduce/lib/junit-4.11.jar:
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/mapreduce/lib/leveldbjni-all-1.8.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/mapreduce/lib/jackson-core-asl-1.9.13.jar:
> >> /home/dcos/hadoop-2.7.1/share/hadoop/mapreduce/lib/javax.inject-1.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/mapreduce/hadoop-mapreduce-client-core-2.7.1.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/mapreduce/hadoop-mapreduce-client-hs-2.7.1.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/mapreduce/hadoop-mapreduce-client-hs-plugins-2.7.1.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/mapreduce/hadoop-mapreduce-client-common-2.7.1.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/mapreduce/hadoop-mapreduce-client-app-2.7.1.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/mapreduce/hadoop-mapreduce-client-jobclient-2.7.1.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/mapreduce/hadoop-mapreduce-examples-2.7.1.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/mapreduce/hadoop-mapreduce-client-jobclient-2.7.1-tests.jar:
> >>
> >>
> /home/dcos/hadoop-2.7.1/share/hadoop/mapreduce/hadoop-mapreduce-client-shuffle-2.7.1.jar:
> >>
> >>
> /home/dcos/hbase-0.98.16.1-hadoop2/lib/hbase-protocol-0.98.16.1-hadoop2.jar:
> >> /home/dcos/hbase-0.98.16.1-hadoop2/conf:
> >> /home/dcos/hadoop-2.7.1/contrib/capacity-scheduler/*.jar   -- this can't
> >> found on my system
> >>
> >> 2016-05-11 0:47 GMT+08:00 Gabriel Reid <gabriel.reid@gmail.com>:
> >>>
> >>> Your config looks ok to me.
> >>>
> >>> Could you verify that core-site.xml is on the classpath of the hadoop
> >>> command when you're running the CsvBulkLoadTool?
> >>>
> >>> The fact that you get this error:
> >>>
> >>>     Error Wrong FS:
> >>>
> file:/home/dcos/hdfs/tmp/partitions_2e6483b0-af99-4e8c-9084-1d2c9b1729bb,
> >>> expected:
> >>> hdfs://master1:9000 occurred submitting CSVBulkLoad
> >>>
> >>> Suggests that there is a mismatch in configured file systems -- the
> >>> partitions file is being written to the local file system (under
> >>> /home/dcos/hdfs/tmp), while the expectation is that it is written to
> >>> HDFS.
> >>>
> >>> - Gabriel
> >>>
> >>>
> >>> On Tue, May 10, 2016 at 9:14 AM, kevin <kiss.kevin119@gmail.com>
> wrote:
> >>> > core-site.xml :
> >>> >
> >>> > <property>
> >>> >  <name>fs.defaultFS</name>
> >>> >  <value>hdfs://master1:9000</value>
> >>> > </property>
> >>> > <property>
> >>> > <name>hadoop.tmp.dir</name>
> >>> > <value>file:/home/dcos/hdfs/tmp</value>
> >>> > </property>
> >>> > <property>
> >>> > <name>io.file.buffer.size</name>
> >>> > <value>131072</value>
> >>> > </property>
> >>> > <property>
> >>> >   <name>hadoop.proxyuser.dcos.groups</name>
> >>> >   <value>*</value>
> >>> > </property>
> >>> > <property>
> >>> >   <name>hadoop.proxyuser.dcos.hosts</name>
> >>> >   <value>*</value>
> >>> > </property>
> >>> > <property>
> >>> > <name>io.compression.codecs</name>
> >>> > <value>
> >>> >   org.apache.hadoop.io.compress.GzipCodec,
> >>> >   org.apache.hadoop.io.compress.DefaultCodec,
> >>> >   org.apache.hadoop.io.compress.BZip2Codec,
> >>> >   org.apache.hadoop.io.compress.SnappyCodec
> >>> > </value>
> >>> > </property>
> >>> >
> >>> > hdfs-site.xml
> >>> >
> >>> > <property>
> >>> > <name>dfs.namenode.name.dir</name>
> >>> > <value>file:/home/dcos/hdfs/name</value>
> >>> > </property>
> >>> > <property>
> >>> > <name>dfs.datanode.data.dir</name>
> >>> > <value>file:/home/dcos/hdfs/data</value>
> >>> > </property>
> >>> > <property>
> >>> > <name>dfs.replication</name>
> >>> > <value>3</value>
> >>> > </property>
> >>> > <property>
> >>> > <name>dfs.namenode.secondary.http-address</name>
> >>> > <value>master1:9001</value>
> >>> > </property>
> >>> > <property>
> >>> > <name>dfs.webhdfs.enabled</name>
> >>> > <value>true</value>
> >>> > </property>
> >>> > <property>
> >>> > <name>dfs.permissions</name>
> >>> > <value>false</value>
> >>> > </property>
> >>> >
> >>> > 2016-05-10 14:32 GMT+08:00 kevin <kiss.kevin119@gmail.com>:
> >>> >>
> >>> >> thanks, what I use is from apache. and hadoop ,hbase was in cluster
> >>> >> model
> >>> >> with one master and three slaves
> >>> >>
> >>> >> 2016-05-10 14:17 GMT+08:00 Gabriel Reid <gabriel.reid@gmail.com>:
> >>> >>>
> >>> >>> Hi,
> >>> >>>
> >>> >>> It looks like your setup is using a combination of the local
> >>> >>> filesystem and HDFS at the same time, so this looks to be a
general
> >>> >>> configuration issue.
> >>> >>>
> >>> >>> Are you running on a real distributed cluster, or a single-node
> >>> >>> setup?
> >>> >>> Is this a vendor-based distribution (i.e. HDP or CDH), or apache
> >>> >>> releases of Hadoop and HBase?
> >>> >>>
> >>> >>> - Gabriel
> >>> >>>
> >>> >>> On Tue, May 10, 2016 at 5:34 AM, kevin <kiss.kevin119@gmail.com>
> >>> >>> wrote:
> >>> >>> > hi,all :
> >>> >>> > I use phoenix 4.6.0-hbase0.98  and hadoop 2.7.1,when I
try
> Loading
> >>> >>> > via
> >>> >>> > MapReduce,I got error:
> >>> >>> >
> >>> >>> > 16/05/10 11:24:00 ERROR mapreduce.MultiHfileOutputFormat:
 the
> >>> >>> > table
> >>> >>> > logical
> >>> >>> > name is USER
> >>> >>> > 16/05/10 11:24:00 INFO
> >>> >>> > client.HConnectionManager$HConnectionImplementation:
> >>> >>> > Closing master protocol: MasterService
> >>> >>> > 16/05/10 11:24:00 INFO
> >>> >>> > client.HConnectionManager$HConnectionImplementation:
> >>> >>> > Closing zookeeper sessionid=0x354935e154c0053
> >>> >>> > 16/05/10 11:24:00 INFO zookeeper.ZooKeeper: Session:
> >>> >>> > 0x354935e154c0053
> >>> >>> > closed
> >>> >>> > 16/05/10 11:24:00 INFO zookeeper.ClientCnxn: EventThread
shut
> down
> >>> >>> > 16/05/10 11:24:01 INFO mapreduce.MultiHfileOutputFormat:
> >>> >>> > Configuring 1
> >>> >>> > reduce partitions to match current region count
> >>> >>> > 16/05/10 11:24:01 ERROR mapreduce.CsvBulkLoadTool: Error
Wrong
> FS:
> >>> >>> >
> >>> >>> >
> >>> >>> >
> file:/home/dcos/hdfs/tmp/partitions_2e6483b0-af99-4e8c-9084-1d2c9b1729bb,
> >>> >>> > expected: hdfs://master1:9000 occurred submitting CSVBulkLoad
> >>> >>> > 16/05/10 11:24:01 INFO
> >>> >>> > client.HConnectionManager$HConnectionImplementation:
> >>> >>> > Closing zookeeper sessionid=0x154935e0ee60074
> >>> >>> > 16/05/10 11:24:01 INFO zookeeper.ZooKeeper: Session:
> >>> >>> > 0x154935e0ee60074
> >>> >>> > closed
> >>> >>> > 16/05/10 11:24:01 INFO zookeeper.ClientCnxn: EventThread
shut
> down
> >>> >>> >
> >>> >>> >
> >>> >>> > can anyone help me ?
> >>> >>
> >>> >>
> >>> >
> >>
> >>
> >
>

Mime
View raw message