2016-06-13 1 views
1

私は、このコマンドを実行するとUbuntuの14kite-datasetを使用してデータをインポートする際にIOエラーを回避するにはどうすればよいですか?

ダウンロード凧データセットに

をHortonworks HDPディストリビューション(2.4)を使用しています:

./kite-dataset -v csv-import --delimiter '|' ml-100k/u.item movies 

このエラーを取得:

WARNING: Use "yarn jar" to launch YARN applications. 
SLF4J: Class path contains multiple SLF4J bindings. 
SLF4J: Found binding in [jar:file:/usr/hdp/2.4.2.0-258/hadoop/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class] 
SLF4J: Found binding in [jar:file:/usr/hdp/2.4.2.0-258/zookeeper/lib/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class] 
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. 
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory] 
IO error 
org.kitesdk.data.DatasetIOException: Cannot add jar path to distributed cache: /usr/hdp/2.4.2.0-258/hive/lib 
    at org.kitesdk.tools.TaskUtil$ConfigBuilder.addJarPathForClass(TaskUtil.java:129) 
    at org.kitesdk.tools.TransformTask.run(TransformTask.java:165) 
    at org.kitesdk.cli.commands.CSVImportCommand.run(CSVImportCommand.java:186) 
    at org.kitesdk.cli.Main.run(Main.java:184) 
    at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:76) 
    at org.kitesdk.cli.Main.main(Main.java:266) 
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 
    at java.lang.reflect.Method.invoke(Method.java:497) 
    at org.apache.hadoop.util.RunJar.run(RunJar.java:221) 
    at org.apache.hadoop.util.RunJar.main(RunJar.java:136) 
Caused by: java.io.IOException: Jar file: /usr/hdp/2.4.2.0-258/hive/lib/ojdbc6.jar does not exist. 
    at org.apache.crunch.util.DistCache.addJarToDistributedCache(DistCache.java:115) 
    at org.apache.crunch.util.DistCache.addJarDirToDistributedCache(DistCache.java:208) 
    at org.apache.crunch.util.DistCache.addJarDirToDistributedCache(DistCache.java:229) 
    at org.kitesdk.tools.TaskUtil$ConfigBuilder.addJarPathForClass(TaskUtil.java:127) 
    ... 11 more 

何この問題を克服することはできますか?

+0

これはエラーの関連する部分ですか? '原因:java.io.IOException:JARファイル:/usr/hdp/2.4.2.0-258/hive/lib/ojdbc6.jarは存在しません.' - Oracle JDBCドライバと思われます。 –

+0

はこれをすぐに調べます。ありがとう! –

+0

これは私が答えとしてコメントを入れれば気になりますか? –

答えて

1

これは、エラーメッセージの関連部分のようだ:

Caused by: java.io.IOException: Jar file: /usr/hdp/2.4.2.0-258/hive/lib/ojdbc6.jar does not exist

欠落しているjarファイルは、Oracle JDBCドライバのようです。

0

pathからJDBCドライバをダウンロードできます。

関連する問題