Lewis,
Were you able to get everything working or do you need any more help?
Thanks,
Puja

Sent from my iPhone

> On Sep 30, 2019, at 3:10 PM, lewis john mcgibbney <lewi...@apache.org> wrote:
> 
> Hi Adina,
> Thanks for the information. I need to embed Rya for tests so I this is not
> a valid way for me to go forward.
> Thanks
> Lewis
> 
>> On Sun, Sep 29, 2019 at 7:13 PM Adina Crainiceanu <ad...@usna.edu> wrote:
>> 
>> Hi Lewis,
>> 
>> Thanks for the good wishes!
>> If you just want a local installation of Rya, the vagrant file at
>> 
>> https://github.com/apache/incubator-rya/tree/master/extras/vagrantExample/src/main/vagrant
>> 
>> might be helpful. The Rya version in the vagrant file should be changed
>> (see the TODOs in that file), but otherwise it should work to create a VM
>> with a Rya instance running on it.
>> 
>> Hope this helps.
>> Thanks,
>> Adina
>> 
>>> On Sat, Sep 28, 2019 at 2:44 PM Michael Wall <mjw...@apache.org> wrote:
>>> 
>>> Quick look at Rya 4.0.0 shows it is using Accumulo 1.6.4, which is pretty
>>> old.  But this should still work.  I am thinking you just need to call
>>> cluster.start() and wait for it to spin up.
>>> 
>>> Maybe this code will give some ideas
>>> 
>>> https://gitlab.com/mjwall/standalone-mac/blob/1.6.6/src/main/java/com/mjwall/accumulo/StandaloneMAC.java#L81
>>> .
>>> Hope that helps.
>>> 
>>> Mike
>>> 
>>> On Sat, Sep 28, 2019 at 12:10 PM Lewis John McGibbney <lewi...@apache.org
>>>> 
>>> wrote:
>>> 
>>>> Hi Mike,
>>>> Thanks for chiming in, I appreciate it.
>>>> Well, really the code I'm using is as follows
>>>> 
>>>> 
>>>> 
>>> https://github.com/lewismc/any23/blob/rya_connector/plugins/rya-connector/src/test/java/org/apache/any23/plugin/rya/RyaConnectorTest.java#L88-L102
>>>> 
>>>> Specifically line 91
>>>> 
>>>>    // Setup and start the Mini Accumulo.
>>>> cluster = clusterInstance.getCluster();
>>>> 
>>>> which in itself calls
>>>> 
>>>> private static MiniAccumuloClusterInstance clusterInstance =
>>>> MiniAccumuloSingleton.getInstance();
>>>> 
>>>> I'll debug further on my end.
>>>> 
>>>>> On 2019/09/28 13:34:51, Michael Wall <mjw...@apache.org> wrote:
>>>>> Lewis,
>>>>> 
>>>>> That warning indicates Accumulo is not running correctly.  How did you
>>>>> start it up?
>>>>> 
>>>>> Mike
>>>>> 
>>>>> On Sat, Sep 28, 2019 at 2:54 AM Lewis John McGibbney <
>>> lewi...@apache.org
>>>>> 
>>>>> wrote:
>>>>> 
>>>>>> My updated code is at
>>>>>> 
>>>>>> 
>>>> 
>>> https://github.com/lewismc/any23/blob/rya_connector/plugins/rya-connector/src/test/java/org/apache/any23/plugin/rya/RyaConnectorTest.java
>>>>>> As you can see I've cloned a huge amount of code related to
>>>> provisioning
>>>>>> Accumulo, Zookeeper, etc.
>>>>>> Right now I'm getting the following Accumulo complaint... any ideas
>>>> how to
>>>>>> address it?
>>>>>> Thanks
>>>>>> 
>>>>>> ...
>>>>>> 
>>>> 
>>> org.apache.zookeeper.ClientCnxn$SendThread.logStartConnect(ClientCnxn.java:975)
>>>>>> - Opening socket connection to server localhost/127.0.0.1:5951.
>>> Will
>>>> not
>>>>>> attempt to authenticate using SASL (unknown error)
>>>>>>  [2019-09-27 23:27:48,989] INFO
>>>> 2055[main-SendThread(localhost:5951)] -
>>>>>> 
>>>> 
>>> org.apache.zookeeper.ClientCnxn$SendThread.primeConnection(ClientCnxn.java:852)
>>>>>> - Socket connection established to localhost/127.0.0.1:5951,
>>>> initiating
>>>>>> session
>>>>>>  [2019-09-27 23:27:49,002] INFO
>>>> 2068[main-SendThread(localhost:5951)] -
>>>>>> 
>>>> 
>>> org.apache.zookeeper.ClientCnxn$SendThread.onConnected(ClientCnxn.java:1235)
>>>>>> - Session establishment complete on server localhost/127.0.0.1:5951
>>> ,
>>>>>> sessionid = 0x16d768dc2ad0004, negotiated timeout = 30000
>>>>>>  [2019-09-27 23:27:49,140] WARN  2206[main] -
>>>>>> 
>>>> 
>>> org.apache.accumulo.core.client.impl.ServerClient.getConnection(ServerClient.java:149)
>>>>>> - There are no tablet servers: check that zookeeper and accumulo are
>>>>>> running.
>>>>>> 
>>>>>> On 2019/09/28 06:08:56, Lewis John McGibbney <lewi...@apache.org>
>>>> wrote:
>>>>>>> I found it
>>>>>>> 
>>>>>> 
>>>> 
>>> https://github.com/apache/incubator-rya/blob/3c3ab0dfdb758602dba51e9ce043b7d108898091/extras/rya.pcj.fluo/pcj.fluo.test.base/src/main/java/org/apache/rya/pcj/fluo/test/base/FluoITBase.java
>>>>>>> Lewis
>>>>>>> 
>>>>>>> On 2019/09/28 04:49:22, Lewis John McGibbney <lewi...@apache.org>
>>>>>> wrote:
>>>>>>>> I found thw following
>>>>>>>> 
>>>>>> 
>>>> 
>>> https://github.com/apache/incubator-rya/blob/3c3ab0dfdb758602dba51e9ce043b7d108898091/extras/indexing/src/main/java/org/apache/rya/api/client/accumulo/AccumuloInstall.java
>>>>>>>> Can someone confirm if I'm headed in the correct direction?
>>>>>>>> Thank yoou
>>>>>>>> 
>>>>>>>> On 2019/09/28 03:46:43, Lewis John McGibbney <
>>> lewi...@apache.org>
>>>>>> wrote:
>>>>>>>>> Hi Folks,
>>>>>>>>> 
>>>>>>>>> Firstly, congratulations to the community on the recent
>>>> graduation.
>>>>>> It's really positive to see more Semantic Technologies projects like
>>>> Rya at
>>>>>> Apache.
>>>>>>>>> 
>>>>>>>>> I'm currently writing a small plugin connector [0] for Apache
>>>> Any23
>>>>>> which would facilitate streaming of Any23 extractions to Rya.
>>>>>>>>> I would like to write some unit tests and thought I'd reach
>>> out
>>>> to
>>>>>> see if there was some sort of MiniRyaCluster or something similar to
>>>> what
>>>>>> Accumulo offers [1]. If not, is there a suggested practice for how
>>> one
>>>>>> would provision a mini Rya deployment merely for unit tests?
>>>>>>>>> 
>>>>>>>>> Thanks folks, I'll announce the plugin availability once it's
>>>>>> finished.
>>>>>>>>> Lewis
>>>>>>>>> 
>>>>>>>>> [0]
>>>>>> 
>>>> 
>>> https://github.com/lewismc/any23/tree/rya_connector/plugins/rya-connector
>>>>>>>>> [1]
>>>>>> 
>>>> 
>>> https://accumulo.apache.org/1.9/apidocs/index.html?org/apache/accumulo/minicluster/MiniAccumuloCluster.html
>>>>>>>>> 
>>>>>>>> 
>>>>>>> 
>>>>>> 
>>>>> 
>>>> 
>>> 
>> 
>> 
>> --
>> Dr. Adina Crainiceanu
>> Associate Professor
>> Computer Science Department
>> United States Naval Academy
>> 410-293-6822
>> ad...@usna.edu
>> http://www.usna.edu/Users/cs/adina/
>> 
> 
> 
> -- 
> http://home.apache.org/~lewismc/
> http://people.apache.org/keys/committer/lewismc

Reply via email to