Hi All,

I am working on the Giraph project and getting familiar with the codebase.

In giraph-core (Giraph source code)
   ----------src/main/java
     --------- package org.apache.giraph.comm.netty
        ------- class SaslNettyServer.java

For, importorg.apache.hadoop.mapreduce.security.token.JobTokenSecretManager;
The problem is on the line with: *secretManager.checkAvailableForRead();*

I have checked the JobTokenSecretManager  class in the hadoop jar files,
0.20.203.0 and 2.0.0 versions. The JobTokenSecretManager does not contain
the method checkAvailableForRead() directly.

The source code
(here<http://javasourcecode.org/html/open-source/hadoop/hadoop-0.20.203.0/org/apache/hadoop/mapreduce/security/token/JobTokenSecretManager.java.html>)
for version 0.20.203.0 shows that JobTokenSecretManager extends
SecretManager 
(here<http://javasourcecode.org/html/open-source/hadoop/hadoop-0.20.203.0/org/apache/hadoop/security/token/SecretManager.java.html>).
While the class SecretManager does not contain method
checkAvailableForRead().

Is there any particular hadoop release that will fix this error? Please
could you advise.

*Some Error Messages below:*

Description Resource Path Location Type
The method checkAvailableForRead() is undefined for the type
JobTokenSecretManager in SaslNettyServer.java
/giraph-core/src/main/java/org/apache/giraph/comm/netty line 68 Java Problem

---------------

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.0:compile
(default-compile) on project giraph-core: Compilation failure: Compilation
failure:

[ERROR]
/Users/maro/Documents/Development/apache/giraph/giraph/giraph-core/src/main/java/org/apache/giraph/comm/netty/SaslNettyServer.java:[68,20]
cannot find symbol

[ERROR] symbol  : method checkAvailableForRead()

[ERROR] location: class
org.apache.hadoop.mapreduce.security.token JobTokenSecretManager

[ERROR]
/Users/maro/Documents/Development/apache/giraph/giraph/giraph-core/src/main/java/org/apache/giraph/comm/netty/SaslNettyServer.java:[69,14]
cannot find symbol

[ERROR] symbol  : class StandbyException

[ERROR] location: class org.apache.giraph.comm.netty.SaslNettyServer

Cheers, Mike.

Reply via email to