Hi All,

For some reason, my hdfs source code can't compile anymore. ~1-2 weeks ago it 
was compiling fine but now it's not. I haven't made any changes to my code 
since I last compiled.

When I do ant clean jar: I get the following errors.

compile-hdfs-classes:
   [javac] Compiling 198 source files to
/hadoop_0.22/hdfs_new/build/classes
   [javac]
/hadoop_0.22/hdfs_new/src/java/org/apache/hadoop/hdfs/protocol/ClientProtoco
l.java:53: cannot find symbol
   [javac] symbol  : method value()
   [javac] location: @interface org.apache.hadoop.security.KerberosInfo
   [javac] @KerberosInfo(DFSConfigKeys.DFS_NAMENODE_USER_NAME_KEY)
   [javac]                            ^
   [javac]
/hadoop_0.22/hdfs_new/src/java/org/apache/hadoop/hdfs/server/protocol/Nameno
deProtocol.java:34: cannot find symbol
   [javac] symbol  : method value()
   [javac] location: @interface org.apache.hadoop.security.KerberosInfo
   [javac] @KerberosInfo(DFSConfigKeys.DFS_NAMENODE_USER_NAME_KEY)
   [javac]                            ^
   [javac]
/hadoop_0.22/hdfs_new/src/java/org/apache/hadoop/hdfs/server/protocol/InterD
atanodeProtocol.java:33: cannot find symbol
   [javac] symbol  : method value()
   [javac] location: @interface org.apache.hadoop.security.KerberosInfo
   [javac] @KerberosInfo(DFSConfigKeys.DFS_NAMENODE_USER_NAME_KEY)
   [javac]                            ^
   [javac]
/hadoop_0.22/hdfs_new/src/java/org/apache/hadoop/hdfs/server/protocol/Datano
deProtocol.java:40: cannot find symbol
   [javac] symbol  : method value()
   [javac] location: @interface org.apache.hadoop.security.KerberosInfo
   [javac] @KerberosInfo(DFSConfigKeys.DFS_NAMENODE_USER_NAME_KEY)
   [javac]                            ^
   [javac]
/hadoop_0.22/hdfs_new/src/java/org/apache/hadoop/hdfs/protocol/ClientProtoco
l.java:53: annotation org.apache.hadoop.security.KerberosInfo is missing
serverPrincipal
   [javac] @KerberosInfo(DFSConfigKeys.DFS_NAMENODE_USER_NAME_KEY)
   [javac] ^
   [javac]
/hadoop_0.22/hdfs_new/src/java/org/apache/hadoop/hdfs/server/protocol/Nameno
deProtocol.java:34: annotation org.apache.hadoop.security.KerberosInfo is
missing serverPrincipal
   [javac] @KerberosInfo(DFSConfigKeys.DFS_NAMENODE_USER_NAME_KEY)
   [javac] ^
   [javac]
/hadoop_0.22/hdfs_new/src/java/org/apache/hadoop/hdfs/server/protocol/InterD
atanodeProtocol.java:33: annotation org.apache.hadoop.security.KerberosInfo
is missing serverPrincipal
   [javac] @KerberosInfo(DFSConfigKeys.DFS_NAMENODE_USER_NAME_KEY)
   [javac] ^
   [javac]
/hadoop_0.22/hdfs_new/src/java/org/apache/hadoop/hdfs/server/protocol/Datano
deProtocol.java:40: annotation org.apache.hadoop.security.KerberosInfo is
missing serverPrincipal
   [javac] @KerberosInfo(DFSConfigKeys.DFS_NAMENODE_USER_NAME_KEY)
   [javac] ^
   [javac] Note: Some input files use or override a deprecated API.
   [javac] Note: Recompile with -Xlint:deprecation for details.
   [javac] 8 errors

BUILD FAILED


      

Reply via email to