You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@accumulo.apache.org by Jeff Turner <sj...@gmail.com> on 2015/02/14 20:23:30 UTC
conn.createTable hangs in MiniAccumuloCluster
i'm playing with MiniAccumuloCluster, and can
create a namespace, and list tables, but when i try to create
a table (conn.getTableOperations().create(tableName)),
the call never returns - just hangs there ...
if i break out of that, and then list the tables, then the table exists.
i don't see anything at all in logs/*.{out,err}
any clues on diagnosing the issue?
i'm using 1.6.2 rc5, java 1.8.0_31 on OSX.
(i was wondering if java 8 could be the issue - i can't build from git
checkout,
due to some class version problem. but, other M.A.C. stuff seems ok (so
far).
i don't know how to fall back to java 7 or java 6, if that is something i'll
have to try)
Re: conn.createTable hangs in MiniAccumuloCluster
Posted by Andrew Wells <aw...@clearedgeit.com>.
Yes you can. I had / have some code that does some persistence with a mini
accumulo instance
On Feb 15, 2015 11:16 AM, "Josh Elser" <jo...@gmail.com> wrote:
> I don't know of a reason why you wouldn't be able to importDirectory. I
> think we have tests that exercise that.
> On Feb 15, 2015 8:46 AM, "Jeff Turner" <sj...@gmail.com> wrote:
>
>> good question.
>>
>> several of the .err files had the following, which i viewed as
>> something-to-deal-with-later,
>> versus the show-stopper that it is:
>>
>> log4j:WARN No appenders could be found for logger
>> (org.apache.accumulo.start.classloader.AccumuloClassLoader).
>> log4j:WARN Please initialize the log4j system properly.
>> log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for
>> more info.
>>
>> after i added a log4j.properties to classpath, and added a couple more
>> jars to classpath,
>> it's working.
>>
>> thanks for the help.
>>
>> i don't think it's a big deal, but in this situation, a number of tserver
>> "class not found"
>> crashes were in TabletServer*.out instead of TabletServer*.err
>>
>>
>> different question: even though it sounds silly, should i be able to
>> importDirectory
>> in MiniAccumuloCluster?
>>
>>
>>
>>
>> On 2/14/15 7:07 PM, Josh Elser wrote:
>>
>>> To clarify, do you mean that there is no content at all in the .out/.err
>>> files? Or just that there appear to be no exceptions in the files?
>>>
>>> Jeff Turner wrote:
>>>
>>>> i'm playing with MiniAccumuloCluster, and can
>>>> create a namespace, and list tables, but when i try to create
>>>> a table (conn.getTableOperations().create(tableName)),
>>>> the call never returns - just hangs there ...
>>>>
>>>>
>>>> if i break out of that, and then list the tables, then the table exists.
>>>>
>>>> i don't see anything at all in logs/*.{out,err}
>>>>
>>>> any clues on diagnosing the issue?
>>>>
>>>> i'm using 1.6.2 rc5, java 1.8.0_31 on OSX.
>>>>
>>>> (i was wondering if java 8 could be the issue - i can't build from git
>>>> checkout,
>>>> due to some class version problem. but, other M.A.C. stuff seems ok (so
>>>> far).
>>>> i don't know how to fall back to java 7 or java 6, if that is something
>>>> i'll
>>>> have to try)
>>>>
>>>>
>>>>
>>>>
>>>>
>>
Re: conn.createTable hangs in MiniAccumuloCluster
Posted by Josh Elser <jo...@gmail.com>.
I don't know of a reason why you wouldn't be able to importDirectory. I
think we have tests that exercise that.
On Feb 15, 2015 8:46 AM, "Jeff Turner" <sj...@gmail.com> wrote:
> good question.
>
> several of the .err files had the following, which i viewed as
> something-to-deal-with-later,
> versus the show-stopper that it is:
>
> log4j:WARN No appenders could be found for logger
> (org.apache.accumulo.start.classloader.AccumuloClassLoader).
> log4j:WARN Please initialize the log4j system properly.
> log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for
> more info.
>
> after i added a log4j.properties to classpath, and added a couple more
> jars to classpath,
> it's working.
>
> thanks for the help.
>
> i don't think it's a big deal, but in this situation, a number of tserver
> "class not found"
> crashes were in TabletServer*.out instead of TabletServer*.err
>
>
> different question: even though it sounds silly, should i be able to
> importDirectory
> in MiniAccumuloCluster?
>
>
>
>
> On 2/14/15 7:07 PM, Josh Elser wrote:
>
>> To clarify, do you mean that there is no content at all in the .out/.err
>> files? Or just that there appear to be no exceptions in the files?
>>
>> Jeff Turner wrote:
>>
>>> i'm playing with MiniAccumuloCluster, and can
>>> create a namespace, and list tables, but when i try to create
>>> a table (conn.getTableOperations().create(tableName)),
>>> the call never returns - just hangs there ...
>>>
>>>
>>> if i break out of that, and then list the tables, then the table exists.
>>>
>>> i don't see anything at all in logs/*.{out,err}
>>>
>>> any clues on diagnosing the issue?
>>>
>>> i'm using 1.6.2 rc5, java 1.8.0_31 on OSX.
>>>
>>> (i was wondering if java 8 could be the issue - i can't build from git
>>> checkout,
>>> due to some class version problem. but, other M.A.C. stuff seems ok (so
>>> far).
>>> i don't know how to fall back to java 7 or java 6, if that is something
>>> i'll
>>> have to try)
>>>
>>>
>>>
>>>
>>>
>
Re: conn.createTable hangs in MiniAccumuloCluster
Posted by Jeff Turner <sj...@gmail.com>.
good question.
several of the .err files had the following, which i viewed as
something-to-deal-with-later,
versus the show-stopper that it is:
log4j:WARN No appenders could be found for logger
(org.apache.accumulo.start.classloader.AccumuloClassLoader).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for
more info.
after i added a log4j.properties to classpath, and added a couple more
jars to classpath,
it's working.
thanks for the help.
i don't think it's a big deal, but in this situation, a number of
tserver "class not found"
crashes were in TabletServer*.out instead of TabletServer*.err
different question: even though it sounds silly, should i be able to
importDirectory
in MiniAccumuloCluster?
On 2/14/15 7:07 PM, Josh Elser wrote:
> To clarify, do you mean that there is no content at all in the
> .out/.err files? Or just that there appear to be no exceptions in the
> files?
>
> Jeff Turner wrote:
>> i'm playing with MiniAccumuloCluster, and can
>> create a namespace, and list tables, but when i try to create
>> a table (conn.getTableOperations().create(tableName)),
>> the call never returns - just hangs there ...
>>
>>
>> if i break out of that, and then list the tables, then the table exists.
>>
>> i don't see anything at all in logs/*.{out,err}
>>
>> any clues on diagnosing the issue?
>>
>> i'm using 1.6.2 rc5, java 1.8.0_31 on OSX.
>>
>> (i was wondering if java 8 could be the issue - i can't build from git
>> checkout,
>> due to some class version problem. but, other M.A.C. stuff seems ok (so
>> far).
>> i don't know how to fall back to java 7 or java 6, if that is something
>> i'll
>> have to try)
>>
>>
>>
>>
Re: conn.createTable hangs in MiniAccumuloCluster
Posted by Josh Elser <jo...@gmail.com>.
To clarify, do you mean that there is no content at all in the .out/.err
files? Or just that there appear to be no exceptions in the files?
Jeff Turner wrote:
> i'm playing with MiniAccumuloCluster, and can
> create a namespace, and list tables, but when i try to create
> a table (conn.getTableOperations().create(tableName)),
> the call never returns - just hangs there ...
>
>
> if i break out of that, and then list the tables, then the table exists.
>
> i don't see anything at all in logs/*.{out,err}
>
> any clues on diagnosing the issue?
>
> i'm using 1.6.2 rc5, java 1.8.0_31 on OSX.
>
> (i was wondering if java 8 could be the issue - i can't build from git
> checkout,
> due to some class version problem. but, other M.A.C. stuff seems ok (so
> far).
> i don't know how to fall back to java 7 or java 6, if that is something
> i'll
> have to try)
>
>
>
>