accumulo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Todd Stavish <toddstav...@gmail.com>
Subject Re: Accumulo On MapR
Date Fri, 16 Mar 2012 16:00:49 GMT
accumulo init seemed to work. Full disclosure, I am running accumlo in
the MapR M5 vm. I cranked down the memory allocations in
accumulo-env.sh to compensate (maybe too much?). I'm not seeing all of
the process launch. Does the monitor and GC run in their own
processes? Neither the monitoring web page nor accumulo shell are
working. Accumulo shell output below, in addition, ... running
processes, logs, and confs attached.

Running the whole MapR/Accumulo stack all in a single VM is flirting
with oxymoron. My goal was just to go through the install sequence and
run a few samples. If there is little hope in getting this to work in
a vm, please let me now.


mapr@mapr-desktop:/opt/accumulo-1.3.5-incubating/bin$ ./accumulo shell
Enter current password for 'mapr'@'myinstance': *******
16 08:41:15,971 [impl.ServerClient] WARN : Failed to find an available
server in the list of servers: [mapr-desktop:9999:9999 (120000)]
16 08:41:15,974 [shell.Shell] ERROR:
org.apache.accumulo.core.client.AccumuloException:
org.apache.thrift.transport.TTransportException: Failed to connect to
a server


Here's what's running:

mapr     31166  0.2  3.8 708684 78332 ?        Sl   08:08   0:04
/usr/lib/jvm/java-6-sun-1.6.0.26/bin/java -Dapp=master -classpath
/opt/accumulo-1.3.5-incubating//conf:/opt/accumulo-1.3.5-incubating//src/start/target/classes:/opt/accumulo-1.3.5-incubating//lib/accumulo-start-1.3.5-incubating.jar:/opt/accumulo-1.3.5-incubating//lib/commons-jci-core-1.0.jar:/opt/accumulo-1.3.5-incubating//lib/commons-jci-fam-1.0.jar:/opt/accumulo-1.3.5-incubating//lib/log4j-1.2.16.jar:/opt/accumulo-1.3.5-incubating//lib/commons-logging-1.0.4.jar:/opt/accumulo-1.3.5-incubating//lib/commons-logging-api-1.0.4.jar
-XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -Xmx256m
-Xms256m -XX:OnOutOfMemoryError=kill -9 %p
-Djava.library.path=/opt/mapr/hadoop/hadoop-0.20.2//lib/native/Linux-amd64-64
org.apache.accumulo.start.Main master --address mapr-desktop

mapr     31674  0.2  3.8 703408 78112 ?        Sl   08:08   0:03
/usr/lib/jvm/java-6-sun-1.6.0.26/bin/java -Dapp=logger -classpath
/opt/accumulo-1.3.5-incubating//conf:/opt/accumulo-1.3.5-incubating//src/start/target/classes:/opt/accumulo-1.3.5-incubating//lib/accumulo-start-1.3.5-incubating.jar:/opt/accumulo-1.3.5-incubating//lib/commons-jci-core-1.0.jar:/opt/accumulo-1.3.5-incubating//lib/commons-jci-fam-1.0.jar:/opt/accumulo-1.3.5-incubating//lib/log4j-1.2.16.jar:/opt/accumulo-1.3.5-incubating//lib/commons-logging-1.0.4.jar:/opt/accumulo-1.3.5-incubating//lib/commons-logging-api-1.0.4.jar
-XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -Xmx256m
-Xms256m -XX:OnOutOfMemoryError=kill -9 %p
-Djava.library.path=/opt/mapr/hadoop/hadoop-0.20.2//lib/native/Linux-amd64-64
org.apache.accumulo.start.Main logger --address mapr-desktop

mapr     31853  0.3  4.4 752476 91420 ?        Sl   08:08   0:04
/usr/lib/jvm/java-6-sun-1.6.0.26/bin/java -Dapp=tserver -classpath
/opt/accumulo-1.3.5-incubating//conf:/opt/accumulo-1.3.5-incubating//src/start/target/classes:/opt/accumulo-1.3.5-incubating//lib/accumulo-start-1.3.5-incubating.jar:/opt/accumulo-1.3.5-incubating//lib/commons-jci-core-1.0.jar:/opt/accumulo-1.3.5-incubating//lib/commons-jci-fam-1.0.jar:/opt/accumulo-1.3.5-incubating//lib/log4j-1.2.16.jar:/opt/accumulo-1.3.5-incubating//lib/commons-logging-1.0.4.jar:/opt/accumulo-1.3.5-incubating//lib/commons-logging-api-1.0.4.jar
-XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -Xmx256m
-Xms256m -Xss128k -XX:OnOutOfMemoryError=kill -9 %p
-Djava.library.path=/opt/mapr/hadoop/hadoop-0.20.2//lib/native/Linux-amd64-64
org.apache.accumulo.start.Main tserver --address mapr-desktop

-Todd




On Thu, Mar 15, 2012 at 4:38 PM, Todd Stavish <toddstavish@gmail.com> wrote:
> Domo, Takuya-san.  For posterity's sake ->
>
> In accumulo-site.xml:
>
> <property>
>  <name>instance.zookeeper.host</name>
>  <value>localhost:5181</value>
>  <description>comma separated list of zookeeper servers</description>
> </property>
>
>
>
>
>
> On Wed, Mar 14, 2012 at 9:33 PM, Takuya UESHIN <ueshin@happy-camper.st> wrote:
>> Hi,
>>
>> You need to specify ZooKeeper client port to 5181 when you use MapR.
>> MapR's ZooKeeper client port is 5181 by default.
>>
>> Thanks.
>>
>>
>> 2012/3/15 Keith Turner <keith@deenlo.com>
>>>
>>> Is zookeeper up and running?
>>>
>>> If so can you jstack the init java process and send the stack trace of
>>> the main thread?
>>>
>>> Keith
>>>
>>> On Wed, Mar 14, 2012 at 5:31 PM, Todd Stavish <toddstavish@gmail.com>
>>> wrote:
>>> > Hello,
>>> >
>>> > I followed all of the setup / initialization steps. However, when I
>>> > ran accumulo init, it hangs on naming the instance.
>>> >
>>> > mapr@mapr-desktop:/opt/accumulo-1.3.5-incubating/bin$ ./accumulo init
>>> > 14 14:15:24,536 [util.Initialize] INFO : Hadoop Filesystem is maprfs:///
>>> > 14 14:15:24,584 [util.Initialize] INFO : Accumulo data dir is /accumulo
>>> > 14 14:15:24,585 [util.Initialize] INFO : Zookeeper server is
>>> > localhost:2181
>>> > Instance name : test
>>> >
>>> > Init doesn't seem to produce any logs (at least not in the
>>> > accumolo/logs dir), is there a verbose mode or something that can help
>>> > me figure out where it is failing?
>>> >
>>> > Thanks,
>>> > -Todd
>>
>>
>>
>>
>> --
>> Takuya UESHIN
>> Tokyo, Japan
>>
>> http://twitter.com/ueshin

Mime
View raw message