Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: CDH3u0
-
Fix Version/s: CDH3u0
-
Component/s: Hadoop Common, HDFS, Security
-
Labels:None
-
Environment:beta3
Description
hdfsConnectAsUser and hdfsConnectAsUserNewInstance methods in CDH3b3 call hadoop's org.apache.hadoop.fs.FileSystem::newInstance with three parameters: (jURI, jConfiguration, jUserString). But there is no such method in hadoop jars shipped with this release. As the result, all C/C++ programs that link against libhdfs (like scribe for example) break with errors like "could not find method newInstance from class org/apache/hadoop/fs/FileSystem with signature (Ljava/net/URI;Lorg/apache/hadoop/conf/Configuration;Ljava/lang/String;)Lorg/apache/hadoop/fs/FileSystem;" after b2 -> b3 upgrade.
I've checked hadoop's trunk and they do not have this problem (they have that method in FileSystem class), so looks like it is either a CDH3-cpecific issue or it's already been fixed in upstream.