Re: Help with HBaseTestingUtility / MiniDFSCluster

2013-07-15 Thread Gary Helmling
Hi David, I filled in an answer on SO. Hopefully that provides some context on the underlying problem. --gh On Mon, Jul 15, 2013 at 3:49 PM, Gary Helmling wrote: > I'll put an explanation up. > > > On Mon, Jul 15, 2013 at 3:36 PM, David Williams > wrote: > >> OMG, someone please take the 10

Re: Help with HBaseTestingUtility / MiniDFSCluster

2013-07-15 Thread Gary Helmling
I'll put an explanation up. On Mon, Jul 15, 2013 at 3:36 PM, David Williams wrote: > OMG, someone please take the 100pt bounty :-) > > > > On Jul 15, 2013, at 2:44 PM, Stack wrote: > > > On Mon, Jul 15, 2013 at 12:03 PM, Andrew Purtell > wrote: > > On Mon, Jul 15, 2013 at 11:28 AM, David Willi

Re: Help with HBaseTestingUtility / MiniDFSCluster

2013-07-15 Thread David Williams
OMG, someone please take the 100pt bounty :-) On Jul 15, 2013, at 2:44 PM, Stack wrote: > On Mon, Jul 15, 2013 at 12:03 PM, Andrew Purtell wrote: > On Mon, Jul 15, 2013 at 11:28 AM, David Williams > wrote: > > > Care to answer the SO question with some details about why? I put a 100pt >

Re: Help with HBaseTestingUtility / MiniDFSCluster

2013-07-15 Thread Stack
On Mon, Jul 15, 2013 at 12:03 PM, Andrew Purtell wrote: > On Mon, Jul 15, 2013 at 11:28 AM, David Williams > wrote: > > > Care to answer the SO question with some details about why? I put a > 100pt > > bounty. > > > Thanks for the offer. Anyone else here is welcome to take it up. Stack? > Ted? >

RE: Help with HBaseTestingUtility / MiniDFSCluster

2013-07-15 Thread Vladimir Rodionov
Carrier IQ, www.carrieriq.com e-mail: vrodio...@carrieriq.com From: David Williams [mobiusinvers...@gmail.com] Sent: Monday, July 15, 2013 12:07 PM To: Andrew Purtell; Gary Helmling Cc: dev@hbase.apache.org Subject: Re: Help with HBaseTestingUtility / Mini

Re: Help with HBaseTestingUtility / MiniDFSCluster

2013-07-15 Thread David Williams
Gary? http://stackoverflow.com/questions/17625938/hbase-minidfscluster-java-fails-in-certain-environments On Jul 15, 2013, at 12:03 PM, Andrew Purtell wrote: > On Mon, Jul 15, 2013 at 11:28 AM, David Williams > wrote: > Care to answer the SO question with some details about why? I put a 100p

Re: Help with HBaseTestingUtility / MiniDFSCluster

2013-07-15 Thread Andrew Purtell
On Mon, Jul 15, 2013 at 11:28 AM, David Williams wrote: > Care to answer the SO question with some details about why? I put a 100pt > bounty. Thanks for the offer. Anyone else here is welcome to take it up. Stack? Ted? -- Best regards, - Andy Problems worthy of attack prove their worth

Re: Help with HBaseTestingUtility / MiniDFSCluster

2013-07-15 Thread David Williams
Hi Andrew, Yes that solves it. Care to answer the SO question with some details about why? I put a 100pt bounty. On Jul 15, 2013, at 10:54 AM, Andrew Purtell wrote: > umask 022 first, then run the tests > > > On Fri, Jul 12, 2013 at 7:37 PM, David Williams > wrote: > Hi all, > > I am h

Re: Help with HBaseTestingUtility / MiniDFSCluster

2013-07-15 Thread Andrew Purtell
umask 022 first, then run the tests On Fri, Jul 12, 2013 at 7:37 PM, David Williams wrote: > Hi all, > > I am having an issue starting the a mini cluster for the > HBaseTestingUtility. In short I can on Mac OSX, but cannot on Linux. But > the error is cryptic and I don't know what to do next.

Re: Help with HBaseTestingUtility / MiniDFSCluster

2013-07-14 Thread Ted Yu
Here is one way of figuring out whether hdfs experiences the same issue is the following: check out http://svn.apache.org/repos/asf/hadoop/common/branches/branch-1 use the command to find out which tests create MiniDFSCluster: find . -name '*.java' -exec grep 'new MiniDFSCluster(' {} \; -print run

Re: Help with HBaseTestingUtility / MiniDFSCluster

2013-07-14 Thread David Williams
Hi Ted, I'd be interested to know more about an hdfs issue. I was go to look further into the line of reasoning you mentioned about the call to getAddress. MiniDFSCluster.java, line 426: String ipAddr = dn.getSelfAddr().getAddress().getHostAddress(); So that one of getSelfAddr or getAddress r

Re: Help with HBaseTestingUtility / MiniDFSCluster

2013-07-13 Thread Ted Yu
Most likely this is an hdfs issue. On Sat, Jul 13, 2013 at 4:08 PM, David Williams wrote: > Hi Ted, > > I updated the dependencies and ran the tests again, and on my Mac OSX they > pass and on CentOS I get the same error: > > > $ lein test > Retrieving org/apache/hbase/hbase/0.94.9/hbase-0.94.9.p

Re: Help with HBaseTestingUtility / MiniDFSCluster

2013-07-13 Thread David Williams
Hi Ted, I updated the dependencies and ran the tests again, and on my Mac OSX they pass and on CentOS I get the same error: $ lein test Retrieving org/apache/hbase/hbase/0.94.9/hbase-0.94.9.pom from central Retrieving org/apache/hbase/hbase/0.94.9/hbase-0.94.9.jar from central Retrieving org/ap

Re: Help with HBaseTestingUtility / MiniDFSCluster

2013-07-13 Thread Ted Yu
Do you mind trying the following change to see if the problem persists for latest 0.94 release ? Thanks diff --git a/project.clj b/project.clj index 2554784..0d8be0e 100644 --- a/project.clj +++ b/project.clj @@ -5,8 +5,8 @@ :dependencies [ [org.clojure/clojure "1.5.1"]

Re: Help with HBaseTestingUtility / MiniDFSCluster

2013-07-12 Thread David Williams
Hi Ted, In terms of versions, here are the jars I'm using, which come from Maven Central. org.apache.hadoop/hadoop-core "1.2.0" org.apache.hbase/hbase "0.94.6.1" org.apache.hadoop/hadoop-test "1.2.0" org.apache.hbase/hbase "0.94.6.1" :classifier "tests" The flag ':classifier "tests"' above is a

Re: Help with HBaseTestingUtility / MiniDFSCluster

2013-07-12 Thread Ted Yu
I installed lein on Mac and Linux. I tried 'lein test' on both platforms and the test passed on both: lein test hbase.table-test Starting DataNode 0 with dfs.data.dir: /homes/hortonzy/mobius/target/test-data/246828b9-1be9-4949-9bbc-b215b378fb67/dfscluster_9ed0bd88-d309-4fed-9823-3bbf86973ae4/dfs/

Re: Help with HBaseTestingUtility / MiniDFSCluster

2013-07-12 Thread Ted Yu
What HBase version are you using for your Closure test ? Thanks On Jul 12, 2013, at 7:37 PM, David Williams wrote: > Hi all, > > I am having an issue starting the a mini cluster for the HBaseTestingUtility. > In short I can on Mac OSX, but cannot on Linux. But the error is cryptic > and I

Help with HBaseTestingUtility / MiniDFSCluster

2013-07-12 Thread David Williams
Hi all, I am having an issue starting the a mini cluster for the HBaseTestingUtility. In short I can on Mac OSX, but cannot on Linux. But the error is cryptic and I don't know what to do next. I submitted a ticket with full details on StackOverflow, http://stackoverflow.com/questions/17625