accumulo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Wall <mjw...@gmail.com>
Subject Re: tableOperations().create hangs
Date Thu, 19 May 2016 14:50:36 GMT
David,

If you are still having problems, can you take a jstack of the process
while it is hung and send it?

Mike

On Thu, May 19, 2016 at 9:59 AM, Sven Hodapp <sven.hodapp@scai.fraunhofer.de
> wrote:

> Hi David,
>
> I had the same issue. I've found out to modify table configuration in
> client code the master server must be available.
> You have said, that you already altered the configuration, but maybe the
> master is nevertheless inaccessible for the client?
>
> Regards,
> Sven
>
> --
> Sven Hodapp, M.Sc.,
> Fraunhofer Institute for Algorithms and Scientific Computing SCAI,
> Department of Bioinformatics
> Schloss Birlinghoven, 53754 Sankt Augustin, Germany
> sven.hodapp@scai.fraunhofer.de
> www.scai.fraunhofer.de
>
> ----- Urspr√ľngliche Mail -----
> > Von: "David Boyd" <dboyd@incadencecorp.com>
> > An: "user" <user@accumulo.apache.org>
> > CC: "Jing Yang" <jyang@incadencecorp.com>
> > Gesendet: Donnerstag, 19. Mai 2016 15:22:26
> > Betreff: tableOperations().create hangs
>
> > Hello:
> >
> >     I have the following code in one of my methods:
> >
> > if(!dbConnector.tableOperations().exists(coalesceTable)) {
> >                 System.err.println("creating table " + coalesceTable);
> > dbConnector.tableOperations().create(coalesceTable);
> >                 System.err.println("created table " + coalesceTable);
> >             }
> >
> > The exists call works just fine.  If the table exists (e.g. I created it
> > from the accumulo shell)
> > the code moves on and writes to the table just fine.
> >
> > If the table does not exist the create call is called and the entire
> > process hangs.
> >
> > This same code works just fine using MiniAccumuloCluster in my junit
> test.
> >
> > My accumlo is a single node 1.6.1 instance running in a separate VM on
> > my laptop.
> >
> > I saw a similar thread
> > (
> http://mail-archives.apache.org/mod_mbox/accumulo-dev/201310.mbox/%3C1382562693449-5858.post@n5.nabble.com%3E
> )
> > where the user set all the accumulo conf entries to the IP versus
> > localhost, but I had already done that.  I reverified that nothing in my
> > accumulo configuration
> > uses localhost.
> >
> > Any help would be appreciated.
> >
> >
> >
> > --
> > ========= mailto:dboyd@incadencecorp.com ============
> > David W. Boyd
> > VP,  Data Solutions
> > 10432 Balls Ford, Suite 240
> > Manassas, VA 20109
> > office:   +1-703-552-2862
> > cell:     +1-703-402-7908
> > ============== http://www.incadencecorp.com/ ============
> > ISO/IEC JTC1 WG9, editor ISO/IEC 20547 Big Data Reference Architecture
> > Chair ANSI/INCITS TC Big Data
> > Co-chair NIST Big Data Public Working Group Reference Architecture
> > First Robotic Mentor - FRC, FTC - www.iliterobotics.org
> > Board Member- USSTEM Foundation - www.usstem.org
> >
> > The information contained in this message may be privileged
> > and/or confidential and protected from disclosure.
> > If the reader of this message is not the intended recipient
> > or an employee or agent responsible for delivering this message
> > to the intended recipient, you are hereby notified that any
> > dissemination, distribution or copying of this communication
> > is strictly prohibited.  If you have received this communication
> > in error, please notify the sender immediately by replying to
> > this message and deleting the material from any computer.
>

Mime
View raw message