Re: A question about reading one block

2012-10-31 Thread Harsh J
Vivi, There is no inbuilt function to do this, no. You'd have to write the utility yourself. On Thu, Nov 1, 2012 at 3:01 AM, Vivi Lang wrote: > Please ignore the previous email which I did not describe the problem > clearly. > > On Wed, Oct 31, 2012 at 3:05 PM, Vivi Lang wrote: > >> Hi, thks fo

[jira] [Created] (HDFS-4133) Add testcases for testing basic snapshot functionalities

2012-10-31 Thread Jing Zhao (JIRA)
Jing Zhao created HDFS-4133: --- Summary: Add testcases for testing basic snapshot functionalities Key: HDFS-4133 URL: https://issues.apache.org/jira/browse/HDFS-4133 Project: Hadoop HDFS Issue Type:

[jira] [Created] (HDFS-4132) when libwebhdfs is not enabled, nativeMiniDfsClient frees uninitialized memory

2012-10-31 Thread Colin Patrick McCabe (JIRA)
Colin Patrick McCabe created HDFS-4132: -- Summary: when libwebhdfs is not enabled, nativeMiniDfsClient frees uninitialized memory Key: HDFS-4132 URL: https://issues.apache.org/jira/browse/HDFS-4132

Re: A question about reading one block

2012-10-31 Thread Vivi Lang
Please ignore the previous email which I did not describe the problem clearly. On Wed, Oct 31, 2012 at 3:05 PM, Vivi Lang wrote: > Hi, thks for the replying. > > Is there any function can help me to create a InputStream for a certain > Block which stored in a certain datanode > Thanks, > > On Sa

Re: HDFS HA with HDFS Federation

2012-10-31 Thread lohit
This is good. Thanks 2012/10/31 Todd Lipcon > Hi Lohit, > > The shared edits dir config is also optionally per-namenode -- i.e you can > specify dfs.namenode.shared.edits.dir.namespace1 or > even dfs.namenode.shared.edits.dir.namespace1.nn2. For reference in the > code, check out NameNode.NAMENO

Re: HDFS HA with HDFS Federation

2012-10-31 Thread Todd Lipcon
Hi Lohit, The shared edits dir config is also optionally per-namenode -- i.e you can specify dfs.namenode.shared.edits.dir.namespace1 or even dfs.namenode.shared.edits.dir.namespace1.nn2. For reference in the code, check out NameNode.NAMENODE_SPECIFIC_KEYS. -Todd On Wed, Oct 31, 2012 at 1:08 PM,

Re: A question about reading one block

2012-10-31 Thread Vivi Lang
Hi, thks for the replying. Is there any function can help me to create a InputStream for a certain Block which stored in a certain datanode Thanks, On Sat, Oct 27, 2012 at 9:41 PM, Harsh J wrote: > Vivi, > > Assuming you know how to get the block info out of a file's metadata, > opening a file

Build failed in Jenkins: Hadoop-Hdfs-trunk #1212

2012-10-31 Thread Apache Jenkins Server
See Changes: [suresh] HDFS-4129. Add utility methods to dump NameNode in memory tree for testing. Contributed by Tsz Wo (Nicholas), SZE. [suresh] HDFS-3916. libwebhdfs testing code cleanup. Contributed by Jing Zhao. [umamahesh] Mov

Hadoop-Hdfs-trunk - Build # 1212 - Failure

2012-10-31 Thread Apache Jenkins Server
See https://builds.apache.org/job/Hadoop-Hdfs-trunk/1212/ ### ## LAST 60 LINES OF THE CONSOLE ### [...truncated 11483 lines...] [exec] 2012-10-31 12:51:48,701 INFO