- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我的配置是 hadoop 2.0.0 和 hbase 0.96。一切都以伪分布式模式运行。
当我使用以下命令运行 importTsv 时。
./hbase org.apache.hadoop.hbase.mapreduce.ImportTsv -Dimporttsv.columns=HBASE_ROW_KEY,surname,name,age persons 'hdfs://localhost:9000/user/joe/persons.tsv'
它尝试读取不存在的文件 hdfs://localhost:9000/home/joe/Programs/hbase-0.96.0-hadoop2/lib/hbase-client-0.96.0-hadoop2.jar.. .
在堆栈跟踪下方。
非常感谢您的帮助。
2013-10-22 19:33:52,079 INFO [main] mapreduce.TableOutputFormat: Created table instance for persons2013-10-22 19:33:53,253 INFO [main] mapreduce.JobSubmitter: Cleaning up the staging area file:/tmp/hadoop-joe/mapred/staging/joe1659915806/.staging/job_local1659915806_00012013-10-22 19:33:53,256 ERROR [main] security.UserGroupInformation: PriviledgedActionException as:joe (auth:SIMPLE) cause:java.io.FileNotFoundException: File does not exist: hdfs://localhost:9000/home/joe/Programs/hbase-0.96.0-hadoop2/lib/hbase-client-0.96.0-hadoop2.jarException in thread "main" java.io.FileNotFoundException: File does not exist: hdfs://localhost:9000/home/joe/Programs/hbase-0.96.0-hadoop2/lib/hbase-client-0.96.0-hadoop2.jar at org.apache.hadoop.hdfs.DistributedFileSystem$17.doCall(DistributedFileSystem.java:1110) at org.apache.hadoop.hdfs.DistributedFileSystem$17.doCall(DistributedFileSystem.java:1102) at org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81) at org.apache.hadoop.hdfs.DistributedFileSystem.getFileStatus(DistributedFileSystem.java:1102) at org.apache.hadoop.mapreduce.filecache.ClientDistributedCacheManager.getFileStatus(ClientDistributedCacheManager.java:288) at org.apache.hadoop.mapreduce.filecache.ClientDistributedCacheManager.getFileStatus(ClientDistributedCacheManager.java:224) at org.apache.hadoop.mapreduce.filecache.ClientDistributedCacheManager.determineTimestamps(ClientDistributedCacheManager.java:93) at org.apache.hadoop.mapreduce.filecache.ClientDistributedCacheManager.determineTimestampsAndCacheVisibilities(ClientDistributedCacheManager.java:57) at org.apache.hadoop.mapreduce.JobSubmitter.copyAndConfigureFiles(JobSubmitter.java:264) at org.apache.hadoop.mapreduce.JobSubmitter.copyAndConfigureFiles(JobSubmitter.java:300) at org.apache.hadoop.mapreduce.JobSubmitter.submitJobInternal(JobSubmitter.java:387) at org.apache.hadoop.mapreduce.Job$10.run(Job.java:1268) at org.apache.hadoop.mapreduce.Job$10.run(Job.java:1265) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:415) at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1491) at org.apache.hadoop.mapreduce.Job.submit(Job.java:1265) at org.apache.hadoop.mapreduce.Job.waitForCompletion(Job.java:1286) at org.apache.hadoop.hbase.mapreduce.ImportTsv.run(ImportTsv.java:480) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84) at org.apache.hadoop.hbase.mapreduce.ImportTsv.main(ImportTsv.java:484)
最佳答案
在Hadoop中,配置参数如下:etc/hadoop/mapred-site.xml:
<configuration>
<property>
<name>mapreduce.framework.name</name>
<value>yarn</value>
</property>
</configuration>
etc/hadoop/yarn-site.xml:
<configuration>
<property>
<name>yarn.nodemanager.aux-services</name>
<value>mapreduce_shuffle</value>
</property>
</configuration>
关于java - hbase importTsv FileNotFoundException,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19536991/
我的配置是 hadoop 2.0.0 和 hbase 0.96。一切都以伪分布式模式运行。 当我使用以下命令运行 importTsv 时。 ./hbase org.apache.hadoop.hba
我有 hbase 0.94.0。我尝试使用 importtsv 工具进行批量导入。这是我给的命令 ./hadoop jar /home/ericsson/Desktop/ProjectFiles/hb
问题: 我正在尝试使用 this 将数据从文本文件导入 HBase 数据库文档中的示例。 配置 HBase 版本:hbase-0.94.4。 我的安装是独立(非分布式或伪分布式)。 重现错误 最初它在
我正在尝试运行 HBase importTSV hadoop 作业以将数据从 TSV 文件加载到 HBase。我正在使用以下代码。 Configuration config = new Con
我尝试使用以下命令将数据插入到 hbase 中: hbase org.apache.hadoop.hbase.mapreduce.ImportTsv -Dimporttsv.columns=HBASE
我有一个纯文本文件,行由“\n”分隔,列由“^A”分隔,这是一个非打印字符。我需要将此文件加载到 HBase,我遇到了 importtsv 工具,它似乎可以满足我的需要。 到目前为止,我做了一些研究并
我将制表符分隔的文件移动到 hdfs,现在正试图将它移动到 hbase。下面是我的 importtsv 命令 bin/hbase org.apache.hadoop.hbase.mapreduce
尝试使用推荐的方法在 Microsoft Azure 云中的 HDInsight 中运行的 HBase 中加载 tsv 文件,通过远程桌面连接并在命令行上运行尝试将 t1.tsv 文件(具有两个制表符
$ /usr/bin/hbase org.apache.hadoop.hbase.mapreduce.ImportTsv Exception in thread "main" java.lang.No
我正在尝试将 tsv 文件加载到现有的 hbase 表中。我正在使用以下命令: /usr/local/hbase/bin$ hbase org.apache.hadoop.hbase.mapreduc
我在 hdfs-site.xml 和 hbase-site.xml 上配置了短路设置。我在 hbase 上运行 importtsv 以将数据从 HDFS 导入到 Hbase 集群上的 HBase。我查
我是一名优秀的程序员,十分优秀!