You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "xia0c (JIRA)" <ji...@apache.org> on 2019/08/16 22:45:00 UTC

[jira] [Created] (HADOOP-16519) Updating incompatible issue

xia0c created HADOOP-16519:
------------------------------

             Summary: Updating incompatible issue
                 Key: HADOOP-16519
                 URL: https://issues.apache.org/jira/browse/HADOOP-16519
             Project: Hadoop Common
          Issue Type: Bug
    Affects Versions: 3.1.2
            Reporter: xia0c


Hi,

The following code snippets throw an incompatible issue when I try to rolling update Hadoop Common from 2.2.0 to 3.X. The Hadoop-hdfs version is 2.2.0.


{code:java}
File clusterDir = new File( "/tmp/test/" );
System.clearProperty(MiniDFSCluster.PROP_TEST_BUILD_DATA);
conf = new HdfsConfiguration();
conf.set(MiniDFSCluster.HDFS_MINIDFS_BASEDIR, clusterDir.getAbsolutePath());
MiniDFSCluster cluster = new MiniDFSCluster.Builder(conf).build();
{code}

It throws an error: 
java.lang.NoSuchMethodError: org.apache.hadoop.util.ShutdownHookManager.clearShutdownHooks()V

Thanks a lot.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org