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-dev-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-dev-h...@hadoop.apache.org