After load the table data into hive when i do the select statement in Hue – hive console i got the below error.
Error on Hue console”
Error occurred executing hive query: Error while compiling statement: FAILED: SemanticException Unable to determine if hdfs://192.168.1.219:8020/apps/hive/warehouse/talend01_20l is encrypted: java.lang.IllegalArgumentException: Wrong FS: hdfs://192.168.1.219:8020/apps/hive/warehouse/talend01_20l, expected: hdfs://hdpcluster
Error on Hiveserver console:
Caused by: org.apache.hadoop.hive.ql.metadata.HiveException: Unable to determine if hdfs://192.168.1.219:8020/apps/hive/warehouse/talend01_20l is encrypted: java.lang.IllegalArgumentException: Wrong FS: hdfs://192.168.1.219:8020/apps/hive/warehouse/talend01_20l, expected: hdfs://hdpcluster
at org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.isPathEncrypted(SemanticAnalyzer.java:1870)
at org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.getStrongestEncryptedTablePath(SemanticAnalyzer.java:1947)
at org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.getStagingDirectoryPathname(SemanticAnalyzer.java:1979)
at org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.getMetaData(SemanticAnalyzer.java:1792)
… 36 more
Caused by: java.lang.IllegalArgumentException: Wrong FS: hdfs://192.168.1.219:8020/apps/hive/warehouse/talend01_20l, expected: hdfs://hdpcluster
at org.apache.hadoop.fs.FileSystem.checkPath(FileSystem.java:646)
at org.apache.hadoop.hdfs.DistributedFileSystem.getPathName(DistributedFileSystem.java:194)
at org.apache.hadoop.hdfs.DistributedFileSystem.getEZForPath(DistributedFileSystem.java:2093)
at org.apache.hadoop.hdfs.client.HdfsAdmin.getEncryptionZoneForPath(HdfsAdmin.java:289)
at org.apache.hadoop.hive.shims.Hadoop23Shims$HdfsEncryptionShim.isPathEncrypted(Hadoop23Shims.java:1213)
at org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.isPathEncrypted(SemanticAnalyzer.java:1866)
Thanks.