[ https://issues.apache.org/jira/browse/TRAFODION-2528?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sandhya Sundaresan resolved TRAFODION-2528. ------------------------------------------- Resolution: Fixed > Classpath spec for hadoop-hdfs-*.jar needs to be changed in Trafodion env > -------------------------------------------------------------------------- > > Key: TRAFODION-2528 > URL: https://issues.apache.org/jira/browse/TRAFODION-2528 > Project: Apache Trafodion > Issue Type: Bug > Components: sql-general > Affects Versions: any > Reporter: Sandhya Sundaresan > Assignee: Sandhya Sundaresan > Fix For: 2.1-incubating > > > Certain HDP installations - eg HBase version 1.1.2.2.3.4.7-4 does not have > the directory "/usr/hdp/current/hadoop-client/client/. > Currently this is how the hadoop JARs are picked up for HDP. > export > HADOOP_JAR_FILES="/usr/hdp/current/hadoop-client/client/hadoop-hdfs-*.jar" > SO in some installations this JAR isn't foudn and calls to HDFS interface > fail with this kind of an error : > *** ERROR[8448] Unable to access Hbase interface. Call to > ExpHbaseInterface::addToHFile returned error HBASE_ADD_TO_HFILE_ERROR(-713). > Cause: java.io.IOException: No FileSystem for scheme: hdfs > org.apache.hadoop.fs.FileSystem.getFileSystemClass(FileSystem.java:2644) > org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2651) > org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:92) > org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:2687) > org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2669) > org.apache.hadoop.fs.FileSystem.get(FileSystem.java:371) > org.apache.hadoop.fs.FileSystem.get(FileSystem.java:170) > org.trafodion.sql.HBulkLoadClient.doCreateHFile(HBulkLoadClient.java:182) > org.trafodion.sql.HBulkLoadClient.addToHFile(HBulkLoadClient.java:226). > *** ERROR[1081] Loading of index TRAFODION.SEABASE.I failed unexpectedly. > Need to change the path to the hadoop-hdfs.jar file to be : > export HADOOP_JAR_FILES="/usr/hdp/current/hadoop-hdfs-client/hadoop-hdfs-*.jar > This si related to changes made in this 2 JIRAs. At some point, the directory > current/hadoop-client was dropped from the distribution. > https://issues.apache.org/jira/browse/HDFS-9815 > https://issues.apache.org/jira/browse/HDFS-6200 -- This message was sent by Atlassian JIRA (v6.3.15#6346)