[ 
https://issues.apache.org/jira/browse/HDFS-976?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12878318#action_12878318
 ] 

Mingjie Lai commented on HDFS-976:
----------------------------------

@Dmytro 

Which branch did you make the patch against? 

I checked out hadoop-common branch-0.20, and had been trying to apply your 
patch, but always got compilation errors -- http://pastebin.ca/1881910.

I'm pretty new to the hdfs code base. Did I miss anything here? 

compile:
     [echo] contrib: highavailability
    [javac] Compiling 10 source files to 
/home/mlai/git/hadoop/hadoop-common/build/contrib/highavailability/classes
    [javac] 
/home/mlai/git/hadoop/hadoop-common/src/contrib/highavailability/src/java/org/apache/hadoop/hdfs/AvatarClient.java:258:
 init() has protected access in org.apache.hadoop.fs.FsShell
    [javac]       fh.init();
    [javac]         ^
    [javac] 
/home/mlai/git/hadoop/hadoop-common/src/contrib/highavailability/src/java/org/apache/hadoop/hdfs/AvatarClient.java:260:
 
delete(org.apache.hadoop.fs.Path,org.apache.hadoop.fs.FileSystem,boolean,boolean)
 has private access in org.apache.hadoop.fs.FsShell
    [javac]         fh.delete(p, p.getFileSystem(conf), recursive, false);
    [javac]           ^
    [javac] 
/home/mlai/git/hadoop/hadoop-common/src/contrib/highavailability/src/java/org/apache/hadoop/hdfs/AvatarClient.java:1849:
 cannot find symbol
    [javac] symbol  : class BlockMissingException
    [javac] location: class org.apache.hadoop.hdfs.AvatarClient.DFSInputStream
    [javac]             throw new BlockMissingException(src, "Could not obtain 
block: " + blockInfo, block.getStartOffset());
    [javac]                       ^
    [javac] 
/home/mlai/git/hadoop/hadoop-common/src/contrib/highavailability/src/java/org/apache/hadoop/hdfs/server/datanode/AvatarDataNode.java:659:
 cannot find symbol
    [javac] symbol  : method 
getNameNodeAddress(org.apache.hadoop.conf.Configuration)
    [javac] location: class org.apache.hadoop.hdfs.server.datanode.DataNode
    [javac]     return DataNode.getNameNodeAddress(newconf);
    [javac]                    ^
    [javac] 
/home/mlai/git/hadoop/hadoop-common/src/contrib/highavailability/src/java/org/apache/hadoop/hdfs/server/namenode/AvatarNode.java:291:
 cannot find symbol
    [javac] symbol  : method writeLock()
    [javac] location: class org.apache.hadoop.hdfs.server.namenode.FSNamesystem
    [javac]       namesystem.writeLock();
...

> Hot Standby for NameNode
> ------------------------
>
>                 Key: HDFS-976
>                 URL: https://issues.apache.org/jira/browse/HDFS-976
>             Project: Hadoop HDFS
>          Issue Type: New Feature
>          Components: name-node
>            Reporter: dhruba borthakur
>            Assignee: Dmytro Molkov
>         Attachments: AvatarNode.patch, AvatarNodeDescription.txt, 
> AvatarPatch.2.patch
>
>
> This is a place holder to share our code and experiences about implementing a 
> Hot Standby for the HDFS NameNode for hadoop 0.20. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to