You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Suresh Srinivas (JIRA)" <ji...@apache.org> on 2010/09/25 00:56:36 UTC
[jira] Commented: (HDFS-1422) hadoop-hdfs-trunk is broken due to
HADOOP-6951 change to hadoop-common-trunk
[ https://issues.apache.org/jira/browse/HDFS-1422?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12914696#action_12914696 ]
Suresh Srinivas commented on HDFS-1422:
---------------------------------------
We should commit this ASAP. In future, we should line them up and commit them in quick succession.
> hadoop-hdfs-trunk is broken due to HADOOP-6951 change to hadoop-common-trunk
> ----------------------------------------------------------------------------
>
> Key: HDFS-1422
> URL: https://issues.apache.org/jira/browse/HDFS-1422
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: name-node
> Reporter: Tanping Wang
>
> The recent check in to hadoop-common breaks hadoop-hdfs trunk. The change was made to
> src/java/org/apache/hadoop/ipc/Server.java src/java/org/apache/hadoop/ipc/Server.java
> The change makes refresh() method to be non-static
> - public static synchronized void refresh(Configuration conf,
> + public synchronized void refresh(Configuration conf,
> PolicyProvider provider) {
> This breaks the invocation of this method in DataNode.java, NameNode.java. Compilation errors :
> compile-hdfs-classes:
> [javac] Compiling 206 source files to /home/tanping/src/SVN/hadoop-hdfs-trunk/build/classes
> [javac] /home/tanping/src/SVN/hadoop-hdfs-trunk/src/java/org/apache/hadoop/hdfs/server/datanode/DataNode.java:461: non-static method refresh(org.apache.hadoop.conf.Configuration,org.apache.hadoop.security.authorize.PolicyProvider) cannot be referenced from a static context
> [javac] ServiceAuthorizationManager.refresh(conf, new HDFSPolicyProvider());
> [javac] ^
> [javac] /home/tanping/src/SVN/hadoop-hdfs-trunk/src/java/org/apache/hadoop/hdfs/server/namenode/NameNode.java:356: non-static method refresh(org.apache.hadoop.conf.Configuration,org.apache.hadoop.security.authorize.PolicyProvider) cannot be referenced from a static context
> [javac] ServiceAuthorizationManager.refresh(conf, new HDFSPolicyProvider());
> [javac] ^
> [javac] /home/tanping/src/SVN/hadoop-hdfs-trunk/src/java/org/apache/hadoop/hdfs/server/namenode/NameNode.java:1420: non-static method refresh(org.apache.hadoop.conf.Configuration,org.apache.hadoop.security.authorize.PolicyProvider) cannot be referenced from a static context
> [javac] ServiceAuthorizationManager.refresh(
> [javac] ^
> [javac] Note: Some input files use or override a deprecated API.
> [javac] Note: Recompile with -Xlint:deprecation for details.
> [javac] 3 errors
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.