Hi Amila,

1) Rya should be able to use whatever Accumulo instance name you provide -
did you try to use Rya with a given Accumulo instance name and it did not
work? What did you try?

2)

DId you look at the vagrant script to see if it does something different
than you did?

DId you have the problem first time you installed Accumulo, or only on
restart?

Did you try to ping Zookeeper, to make sure it is up?
Ping Zookeeper (run: echo ruok | nc 127.0.0.1 2181). -- or whatever ip/port
you use for Zookeeper

   - If Zookeeper is okay, you should see the response imok
   - Otherwise, restart Zookeeper (run something similar to
~/Installs//zookeeper-3.4.5-cdh4.5.0/bin/zkServer.sh
   start)


3) Try to connect to the Rya "office hours" tomorrow (Wednesday) at 12pm
EST. A message with connect information should be sent out tomorrow
morning. Then maybe you will be able to share your screen and ask for help.

Adina



On Tue, May 3, 2016 at 9:25 AM, Amila Wijayarathna <[email protected]
> wrote:

> Hi Adina, These days I'm trying to run Rya in my Ubuntu laptop. Therefore
> I set up Hadoop, Zookeeper and Accumulo. After a shutdown, I need to
> restart hadoop, zookeeper and accumulo. But when i do Hadoop and Zookeeper
> servers are starting successfully but when i initialize Accumulo i get the
> following, 2016-04-19 16:56:06,984 [fs.VolumeManagerImpl] WARN :
> dfs.datanode.synconclose set to false in : data loss is possible on hard
> system reset or power loss 2016-04-19 16:56:06,985 [init.Initialize] INFO :
> Hadoop Filesystem is hdfs://localhost:9000 2016-04-19 16:56:06,986
> [init.Initialize] INFO : Accumulo data dirs are
> [hdfs://localhost:9000/accumulo] 2016-04-19 16:56:06,986 [init.Initialize]
> INFO : Zookeeper server is localhost:2181 2016-04-19 16:56:06,986
> [init.Initialize] INFO : Checking if Zookeeper is available. If this hangs,
> then you need to make sure zookeeper is running 2016-04-19 16:56:07,250
> [init.Initialize] FATAL: It appears the directories
> [hdfs://localhost:9000/accumulo] were previously initialized. 2016-04-19
> 16:56:07,250 [init.Initialize] FATAL: Change the property instance.volumes
> to use different filesystems, 2016-04-19 16:56:07,250 [init.Initialize]
> FATAL: or change the property instance.dfs.dir to use a different
> directory. 2016-04-19 16:56:07,250 [init.Initialize] FATAL: The current
> value of instance.dfs.uri is || 2016-04-19 16:56:07,250 [init.Initialize]
> FATAL: The current value of instance.dfs.dir is |/accumulo| 2016-04-19
> 16:56:07,250 [init.Initialize] FATAL: The current value of instance.volumes
> is |hdfs://localhost:9000/accumulo| Then i tried to start Accumulo with
> ~/Installs/accumulo-1.6.4/bin/start-all.sh then i get following, WARN :
> Using Zookeeper /home/amila/Installs/zookeeper-3.4.8/zookeeper-3.4.8. Use
> version 3.3.0 or greater to avoid zookeeper deadlock bug. Starting monitor
> on localhost WARN : Max open files on localhost is 1024, recommend 32768
> Starting tablet servers .... done 2016-04-19 17:40:43,303
> [fs.VolumeManagerImpl] WARN : dfs.datanode.synconclose set to false in
> hdfs-site.xml: data loss is possible on hard system reset or power loss
> 2016-04-19 17:40:43,308 [server.Accumulo] INFO : Attempting to talk to
> zookeeper 2016-04-19 17:40:43,522 [server.Accumulo] INFO : Waiting for
> accumulo to be initialized 2016-04-19 17:40:44,534 [server.Accumulo] INFO :
> Waiting for accumulo to be initialized 2016-04-19 17:40:45,536
> [server.Accumulo] INFO : Waiting for accumulo to be initialized 2016-04-19
> 17:40:46,538 [server.Accumulo] INFO : Waiting for accumulo to be
> initialized 2016-04-19 17:40:47,541 [server.Accumulo] INFO : Waiting for
> accumulo to be initialized 2016-04-19 17:40:48,543 [server.Accumulo] INFO :
> Waiting for accumulo to be initialized 2016-04-19 17:40:49,545
> [server.Accumulo] INFO : Waiting for accumulo to be initialized 2016-04-19
> 17:40:50,547 [server.Accumulo] INFO : Waiting for accumulo to be
> initialized 2016-04-19 17:40:51,549 [server.Accumulo] INFO : Waiting for
> accumulo to be initialized 2016-04-19 17:40:52,550 [server.Accumulo] INFO :
> Waiting for accumulo to be initialized Starting tablet server on localhost
> WARN : Max open files on localhost is 1024, recommend 32768 2016-04-19
> 17:40:53,551 [server.Accumulo] INFO : Waiting for accumulo to be
> initialized 2016-04-19 17:40:54,552 [server.Accumulo] INFO : Waiting for
> accumulo to be initialized 2016-04-19 17:40:55,554 [server.Accumulo] INFO :
> Waiting for accumulo to be initialized 2016-04-19 17:40:56,555
> [server.Accumulo] INFO : Waiting for accumulo to be initialized 2016-04-19
> 17:40:57,556 [server.Accumulo] INFO : Waiting for accumulo to be
> initialized 2016-04-19 17:40:58,558 [server.Accumulo] INFO : Waiting for
> accumulo to be initialized 2016-04-19 17:40:59,559 [server.Accumulo] INFO :
> Waiting for accumulo to be initialized 2016-04-19 17:41:00,561
> [server.Accumulo] INFO : Waiting for accumulo to be initialized But when I
> change the instance name in accumulo-site.xml then I can successfully start
> Accumulo. But I think to run Rya there must be a constant instance name as
> in Rya README.md. I asked help from Accumulo-dev about this problem but I'm
> unable to find a correct path to solve this.
> Any idea about this is thoroughly appriciated.
> Thank you.
>
> On Mon, May 2, 2016 at 8:39 PM, Adina Crainiceanu <[email protected]> wrote:
>
>> Hi Amila,
>>
>> Were you able to get Accumulo and Rya running on your machine? If not,
>> did you take a look at the Rya Vagrant example
>> https://github.com/apache/incubator-rya/tree/develop/extras/vagrantExample/src/main/vagrant
>> to see if it helps?
>>
>> During this community bonding period, you will need to refine the project
>> proposal and have a concrete plan that you can start implementing when the
>> coding starts. A weekly plan would be best, or at least a plan that has
>> 2-week period sprints. When making the plan, please take into consideration
>> your outside commitments, exams, etc, and include those in planning, so we
>> know what to expect.  We will help with the plan, just ask.
>>
>> In order to make it easy for everyone to collaborate, I created a page on
>> the Rya Confluence for your proposal - you should be able to create a
>> Confluence account and edit the page/add pages with details.
>> https://cwiki.apache.org/confluence/display/RYA/Set-up+continuous+integration+for+Apache+Rya
>>
>> Here is an example for how a proposal and the details/planning, etc looks
>> like for a different project (not Rya) from last year GSoC:
>>
>> https://cwiki.apache.org/confluence/display/AIRAVATA/%5BGSoC+Proposal%5D+Securing+Airavata+API
>>
>> Here is a fragment from a message about the expectation for students
>> during the community bonding period April 22-May 22:
>>
>> *Community Bonding activities may involve:*
>>
>>    - Becoming familiar with the community practices and processes. (This
>>    often involves a mix of observation and participation.)
>>    - Participating on Mailing Lists / IRC / etc. (Not just lurking.)
>>    - Setting up their development environment.
>>    - Small (or large) patches/bug fixes. (These do not need to be
>>    directly related to their GSoC project.)
>>    - Participating in code reviews for others. (Even someone who isn't
>>    familiar with the project can contribute by pointing out potential
>>    inefficiencies, bad error handling, etc.)
>>    - Working with their mentor and other org members on refining their
>>    project plan. This might include finalizing deadlines and milestones,
>>    adding more detail, figuring out potential issues, etc.
>>    - If the student is already familiar with the organization, they
>>    could be helping others get involved in the community.
>>    - Reading (and updating!) documentation they will need to understand
>>    to complete their project.
>>    - Reporting or replicating bugs.
>>
>>
>>
>> Looking forward to working with you,
>> Adina
>>
>>
>> --
>> Dr. Adina Crainiceanu
>> Associate Professor, Computer Science Department
>> United States Naval Academy
>> 410-293-6822
>> [email protected]
>> http://www.usna.edu/Users/cs/adina/
>>
>
>
>
> --
>
> *Amila Wijayarathna*
> Undergraduate,
> Faculty of Information Technology,
> University of Moratuwa,
> Sri Lanka.
>



-- 
Dr. Adina Crainiceanu
Associate Professor, Computer Science Department
United States Naval Academy
410-293-6822
[email protected]
http://www.usna.edu/Users/cs/adina/

Reply via email to