You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rya.apache.org by 柴乐乐 <le...@tju.edu.cn> on 2019/08/16 11:11:45 UTC

Rya version caused some problems

Hi Rya followers,
    I install Rya on stand-alone machine, and I upload it on cluster, but I cannot load data now.
My cluster cannot  access the external network, so I can only pass the compiled Rya through the intranet, the version of Rya is stand-alone, when I run the load command  
    "hadoop jar /usr/local/JAR/rya.mapreduce-4.0.0-incubating-SNAPSHOT-shaded.jar org.apache.rya.accumulo.mr.tools.RdfFileInputTool -Dac.zk=192.168.1.1:2181 -Dac.instance=accumuloV7 -Dac.username=root -Dac.pwd=111111 -Drdf.tablePrefix=triplestore_ -Drdf.format=N-Triples test.nt",
    it always has errors like
   "INFO zookeeper.ClientCnxn: Opening socket connection to server 192.168.1.1/192.168.1.1:2181. Will not attempt to authenticate using SASL (unknown error)"  
    and "INFO ipc.Client: Retrying connect to server: node01.dbcluster1.tju.edu.cn/192.168.1.1:8032. Already tried 5 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)"
    My clusters have 8 nodes, node01 is the master and the others are slave. I have install Zookeeper and Apache Accumulo successfully, but I donot know how to solve the problem, I want to load data.
    The reason for this problem is because the version numbers are inconsistent?
Best regards!





Re: Rya version caused some problems

Posted by David Lotts <dl...@apache.org>.
Sorry your having issues!
>  because the version numbers are inconsistent?
Which version numbers do you suspect are inconsistent?

Given the error perhaps your server cannot connect to your Zookeeper
server.  This could be that zookeeper is down, or no network connection, or
incorrect IP or port number.
>"INFO ipc.Client: Retrying connect to server:
node01.dbcluster1.tju.edu.cn/192.168.1.1:8032. Already tried 5 time(s);

However, I have seen this message when the cluster is coming up, it might
be a temporary issue.  Is the error only found when the Accumulo started?

Check that zookeeper is listening and network accessible.  These answers
might be useful:
https://stackoverflow.com/questions/29106546/how-to-check-if-zookeeper-is-running-or-up-from-command-prompt
I use netcat on linux, then use the zookeeper stat command to get status:
    nc    192.168.1.1    8032
    stat
    ....status info from zookeeper...

If that is all working, look for more errors in your log.
BTW, this SASL error usually means nothing, I've seen it many times on
healthy systems:
    >    Will not attempt to authenticate using SASL (unknown error)

Let me know if this helps!
david.

On Fri, Aug 16, 2019 at 8:06 AM 柴乐乐 <le...@tju.edu.cn> wrote:

> Hi Rya followers,
>     I install Rya on stand-alone machine, and I upload it on cluster, but
> I cannot load data now.
> My cluster cannot  access the external network, so I can only pass the
> compiled Rya through the intranet, the version of Rya is stand-alone, when
> I run the load command
>     "hadoop jar
> /usr/local/JAR/rya.mapreduce-4.0.0-incubating-SNAPSHOT-shaded.jar
> org.apache.rya.accumulo.mr.tools.RdfFileInputTool -Dac.zk=192.168.1.1:2181
> -Dac.instance=accumuloV7 -Dac.username=root -Dac.pwd=111111
> -Drdf.tablePrefix=triplestore_ -Drdf.format=N-Triples test.nt",
>     it always has errors like
>    "INFO zookeeper.ClientCnxn: Opening socket connection to server
> 192.168.1.1/192.168.1.1:2181. Will not attempt to authenticate using SASL
> (unknown error)"
>     and "INFO ipc.Client: Retrying connect to server:
> node01.dbcluster1.tju.edu.cn/192.168.1.1:8032. Already tried 5 time(s);
> retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10,
> sleepTime=1000 MILLISECONDS)"
>     My clusters have 8 nodes, node01 is the master and the others are
> slave. I have install Zookeeper and Apache Accumulo successfully, but I
> donot know how to solve the problem, I want to load data.
>     The reason for this problem is because the version numbers are
> inconsistent?
> Best regards!
>
>
>
>
>