2017-09-07 76 views
0

與對外部ORC表TEZ執行引擎執行查詢時,我收到以下錯誤:添加文件系統與TEZ執行引擎蜂巢

Vertex failed, vertexName=Map 6, vertexId=vertex_1504790331090_0008_1_01, diagnostics=[Vertex vertex_1504790331090_0008_1_01 [Map 6] killed/failed due to:ROOT_INPUT_INIT_FAILURE, Vertex Input: item initializer failed, 
vertex=vertex_1504790331090_0008_1_01 [Map 6], java.lang.RuntimeException: 
java.lang.ClassNotFoundException: Class org.apache. 
hadoop.fs.nfs.NFSv3FileSystem not found 
    at 
org.apache.hadoop.conf.Configuration.getClass(Configuration.java:2241) 
    at 

org.apache.hadoop.fs.FileSystem.getFileSystemClass(FileSystem.java:2780) 
    at 
org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2793) 
    at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:99) 
    at 
org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:2829) 

然而,當我運行查詢與MapReduce的引擎,它工作正常。我已經將正確的代碼行添加到了core-site.xml文件中,我嘗試將用作協議驅動程序的jar文件添加到hive-site.xml中。

我需要添加jar或修改配置以使Hive + Tez支持額外的文件系統?

回答

1

在tez-site.xml文件中,配置tez.lib.uris屬性以包含所需jar的路徑。