You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rya.apache.org by David Lotts <dl...@gmail.com> on 2016/06/13 15:47:30 UTC

Rya-54 vagrant cleanup #47

Adina, Amila, and everyone:

Adina: Thanks for the great feedback!
I think I have resolved everything that you mention, and a few others.
Are you able to run it again?
I updated the readme.md also.

It's in my Rya github branch "RYA-54_vagrant-cleanup-squ" :

https://github.com/DLotts/incubator-rya/blob/RYA-54_vagrant-cleanup-squ/extras/vagrantExample/src/main/vagrant

Start-over instructions below.

The pull request is here:  https://github.com/apache/incubator-rya/pull/47
david.


On Tue, May 17, 2016 at 10:54 AM, David Lotts <dl...@gmail.com> wrote:
Amila,
I have re-worked the Vagrant Example.  There were some race conditions and
places where errors become lost or skipped over.
[...old link removed...]

It uses the same instructions.
You can do the command:

    vagrant destroy

To remove your last attempt.  Then use the new file and the same readme to
start over.

The new version is made to be re-run and possible fix errors from the last
attempt -- so you could just copy this over your old version and type:

    vagrant provision

Then follow the readme instructions.
I am interested in your experience with this.

Re: Rya-54 vagrant cleanup #47

Posted by David Lotts <dl...@gmail.com>.
Your output[1] appears to be a perfectly successful install!
Congratulations!

Did you go through the vagrant-example readme.md?  There are several
verification steps using the browser.

>  … in the vm i got the terminal only.

>  Is this because a problem in Vagrant up?

This VM has only a web user interface, and ssh text terminal interface.

From your local terminal do a "vagrant ssh" and it will use keys instead of
passwords to login.


david.

On Fri, Jun 17, 2016 at 9:19 AM, Amila Wijayarathna <
amwijayarathna@gmail.com> wrote:

> Hi Adina,David,
> So I "up" again the vagrant file and got this [1]. I think it went
> successfully. But in the vm i got the terminal only.
> Is this because a problem in Vagrant up?
> any idea about this is appreciated.
>
> [1]
> https://gist.github.com/AmilaWijayarathna/2b84e6aae91799f2f03402d2dc304d16
>
>
>
> On Fri, Jun 17, 2016 at 7:31 AM, Adina Crainiceanu <ad...@usna.edu> wrote:
>
>> Hi David,
>>
>> I tried the new vagrant script from home and it worked without problems.
>> However, after restarting the VM,  and starting zookeeper and accumulo in
>> the VM, I'm not receiving any responses to queries using the OpenWorkbench
>> or Rya web - the query is submitted, but the request from the browser just
>> never returns. Not sure what is going on there.
>>
>> The problem Amila has with the vagrant seems to be the same one I have
>> from school - we cannot download Rya from dropbox - some settings at out
>> universities likely prevent that.
>>
>> Adina
>>
>> On Thu, Jun 16, 2016 at 8:46 AM, Amila Wijayarathna <
>> amwijayarathna@gmail.com> wrote:
>>
>>> Hi David,
>>> Again I "up" the vagrantfile in non proxy internet connection and I got
>>> this [1]. And when I tried again it stops by the Hadoop installation. I
>>> think this because of my internet connetion. I will try again and give you
>>> some updates.
>>>
>>> [1]
>>> https://gist.github.com/AmilaWijayarathna/9d295b4a6f911f9ed9ac6f1c1a5dface
>>>
>>> Thank you!
>>>
>>> On Wed, Jun 15, 2016 at 4:00 AM, David Lotts <dl...@gmail.com> wrote:
>>>
>>>> From your output [1], I suspect that it is this line in the vagrant
>>>> file that is failing:
>>>>
>>>>  sudo -E add-apt-repository ppa:webupd8team/java
>>>>
>>>> And it generates this error from your output:
>>>>
>>>> ==> default: Error reading
>>>> https://launchpad.net/api/1.0/~webupd8team/+archive/java: Service
>>>> Temporarily Unavailable
>>>>
>>>> Perhaps the site was down?  The URL works for me now.  Try the command
>>>> above ( add-apt-repository ) from the prompt in your VM.
>>>>
>>>> It may also be a proxy issue, described here :
>>>> https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/516032
>>>>
>>>>     export https_proxy=http://www.example.com:8000/
>>>>
>>>> then do the command ( add-apt-repository ) above.
>>>>
>>>> If you you think you have it, or just want to try again, do this
>>>> command from the host.  It will skip the vm creation. If it aborts again at
>>>> the same place, you may need to delete the line that you did yourself (
>>>> add-apt-repository ).
>>>>
>>>>     vagrant provision
>>>>
>>>> david.
>>>>
>>>> On Tue, Jun 14, 2016 at 5:38 PM, Amila Wijayarathna <
>>>> amwijayarathna@gmail.com> wrote:
>>>>
>>>>> Hi David,
>>>>>
>>>>> I got these windows as well,
>>>>>
>>>>> Thank you!
>>>>>
>>>>>
>>>>> On Wed, Jun 15, 2016 at 12:41 AM, Amila Wijayarathna <
>>>>> amwijayarathna@gmail.com> wrote:
>>>>>
>>>>>> Hi David,
>>>>>>
>>>>>> Thank you for your prompt response.
>>>>>> So I "up" the vagrant again in a non proxy internet connection and
>>>>>> end up with this [1]. It has less errors than the earlier one. and when I
>>>>>> do "vagrant ssh" i got the following,
>>>>>>
>>>>>> amila@amila-X550LD:~/Installs/ryaVagrant$   vagrant ssh
>>>>>> Welcome to Ubuntu 14.04.4 LTS (GNU/Linux 3.13.0-87-generic x86_64)
>>>>>>
>>>>>>  * Documentation:  https://help.ubuntu.com/
>>>>>>
>>>>>>   System information as of Tue Jun 14 17:03:04 UTC 2016
>>>>>>
>>>>>>   System load:  0.96              Processes:           110
>>>>>>   Usage of /:   3.5% of 39.34GB   Users logged in:     0
>>>>>>   Memory usage: 3%                IP address for eth0: 10.0.2.15
>>>>>>   Swap usage:   0%
>>>>>>
>>>>>>   Graph this data and manage this system at:
>>>>>>     https://landscape.canonical.com/
>>>>>>
>>>>>>   Get cloud support with Ubuntu Advantage Cloud Guest:
>>>>>>     http://www.ubuntu.com/business/services/cloud
>>>>>>
>>>>>> 0 packages can be updated.
>>>>>> 0 updates are security updates.
>>>>>>
>>>>>>
>>>>>> vagrant@rya-example-box:~$
>>>>>>
>>>>>> And after that I can run those two commands (ping google.com and
>>>>>> wget http://google.com/) without any error.
>>>>>> Is it ok? if it is I like to know how to proceed further.
>>>>>>
>>>>>> Thank you!
>>>>>>
>>>>>>
>>>>>> [1]
>>>>>> https://gist.github.com/AmilaWijayarathna/8a2a20e6a4a1b9b5449bad83f459762b
>>>>>>
>>>>>> On Tue, Jun 14, 2016 at 11:10 PM, David Lotts <dl...@gmail.com>
>>>>>> wrote:
>>>>>>
>>>>>>> Wow, well documented attempt!  Thanks for the listings.
>>>>>>>
>>>>>>> So you brought "up" a default vagrant VM.
>>>>>>> All the messages from [3] are as I would expect, that is great.
>>>>>>>
>>>>>>> Then your copied the Rya Vagrantfile, and did a vagrant up, creating
>>>>>>> the output in [5].
>>>>>>> It downloaded the vm image from cloudera successfully, so we know
>>>>>>> your internet connection on the host is fine.
>>>>>>> But then when the guest VM attempts to update it's libraries, we
>>>>>>> start seeing all errors, starting with this one:
>>>>>>>
>>>>>>> ==> default: Failed to fetch
>>>>>>> http://archive.ubuntu.com/ubuntu/dists/trusty/InRelease
>>>>>>>
>>>>>>> So I think something is wrong with your network inside the VM.
>>>>>>> Run the command
>>>>>>>     vagrant ssh
>>>>>>> from it's install directory, then see if you can run these without
>>>>>>> error:
>>>>>>>     ping google.com
>>>>>>> and/or
>>>>>>>     wget http://google.com/
>>>>>>>         => Resolving google.com (google.com)... Connecting to
>>>>>>> google.com (google.com)
>>>>>>>
>>>>>>> I can't tell if your first VM [3] was able to connect, you might ssh
>>>>>>> to it, and then ping and wget to see if it also has network problems.
>>>>>>>
>>>>>>> If you start the Virtualbox app, you can modify the network setting
>>>>>>> for the box and see if you can get it working.  Maybe you can set a proxy
>>>>>>> as you mentioned.
>>>>>>>
>>>>>>> david.
>>>>>>>
>>>>>>>
>>>>>>> On Tue, Jun 14, 2016 at 12:36 PM, Amila Wijayarathna <
>>>>>>> amwijayarathna@gmail.com> wrote:
>>>>>>>
>>>>>>>> Hi david,
>>>>>>>> This is my first time, setting up a vagrant file.
>>>>>>>> I downloaded the vagrant from [1] and downloaded a virtual box from
>>>>>>>> [2].  As this is my first time i didn't know how to do it correctly. So i
>>>>>>>> installed the the vagrant and up it other location that there  was no any
>>>>>>>> Rya vagrant file. so i got this [3]. seems it set up successfully.
>>>>>>>>
>>>>>>>> After that I copied the vagrant file from [4] and made a
>>>>>>>> Vagrantfile in a local location. when i do vagrant up in that
>>>>>>>> location i got this [5]. it says something went wrong.
>>>>>>>> I don't know this because is my Internet connection, because it has
>>>>>>>> some proxy settings. I will look about it. Any idea about this is
>>>>>>>> appreciated.
>>>>>>>>
>>>>>>>> Thank you!
>>>>>>>>
>>>>>>>>
>>>>>>>> [1]  https://www.vagrantup.com/ <https://www.vagrantup.com/>
>>>>>>>> [2] https://www.virtualbox.org/wiki/Linux_Downloads
>>>>>>>> [3]
>>>>>>>> https://gist.github.com/AmilaWijayarathna/52aa5da9a9c6e952967b1db1b01a1701
>>>>>>>> [4]
>>>>>>>> https://github.com/DLotts/incubator-rya/blob/RYA-54_vagrant-cleanup-squ/extras/vagrantExample/src/main/vagrant/Vagrantfile
>>>>>>>> [5]
>>>>>>>> https://gist.github.com/AmilaWijayarathna/9dd9ce075d98524dad9a97eb1d521e99
>>>>>>>>
>>>>>>>> On Mon, Jun 13, 2016 at 11:22 PM, Adina Crainiceanu <adina@usna.edu
>>>>>>>> > wrote:
>>>>>>>>
>>>>>>>>> David, I'm travelling until Thursday. I'll try it then if Amila
>>>>>>>>> does not do
>>>>>>>>> it earlier.
>>>>>>>>>
>>>>>>>>> Thanks,
>>>>>>>>> Adina
>>>>>>>>>
>>>>>>>>> On Mon, Jun 13, 2016 at 11:47 AM, David Lotts <dl...@gmail.com>
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>> > Adina, Amila, and everyone:
>>>>>>>>> >
>>>>>>>>> > Adina: Thanks for the great feedback!
>>>>>>>>> > I think I have resolved everything that you mention, and a few
>>>>>>>>> others.
>>>>>>>>> > Are you able to run it again?
>>>>>>>>> > I updated the readme.md also.
>>>>>>>>> >
>>>>>>>>> > It's in my Rya github branch "RYA-54_vagrant-cleanup-squ" :
>>>>>>>>> >
>>>>>>>>> >
>>>>>>>>> >
>>>>>>>>> https://github.com/DLotts/incubator-rya/blob/RYA-54_vagrant-cleanup-squ/extras/vagrantExample/src/main/vagrant
>>>>>>>>> >
>>>>>>>>> > Start-over instructions below.
>>>>>>>>> >
>>>>>>>>> > The pull request is here:
>>>>>>>>> https://github.com/apache/incubator-rya/pull/47
>>>>>>>>> > david.
>>>>>>>>> >
>>>>>>>>> >
>>>>>>>>> > On Tue, May 17, 2016 at 10:54 AM, David Lotts <dl...@gmail.com>
>>>>>>>>> wrote:
>>>>>>>>> > Amila,
>>>>>>>>> > I have re-worked the Vagrant Example.  There were some race
>>>>>>>>> conditions and
>>>>>>>>> > places where errors become lost or skipped over.
>>>>>>>>> > [...old link removed...]
>>>>>>>>> >
>>>>>>>>> > It uses the same instructions.
>>>>>>>>> > You can do the command:
>>>>>>>>> >
>>>>>>>>> >     vagrant destroy
>>>>>>>>> >
>>>>>>>>> > To remove your last attempt.  Then use the new file and the same
>>>>>>>>> readme to
>>>>>>>>> > start over.
>>>>>>>>> >
>>>>>>>>> > The new version is made to be re-run and possible fix errors
>>>>>>>>> from the last
>>>>>>>>> > attempt -- so you could just copy this over your old version and
>>>>>>>>> type:
>>>>>>>>> >
>>>>>>>>> >     vagrant provision
>>>>>>>>> >
>>>>>>>>> > Then follow the readme instructions.
>>>>>>>>> > I am interested in your experience with this.
>>>>>>>>> >
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Dr. Adina Crainiceanu
>>>>>>>>> Associate Professor, Computer Science Department
>>>>>>>>> United States Naval Academy
>>>>>>>>> 410-293-6822
>>>>>>>>> adina@usna.edu
>>>>>>>>> http://www.usna.edu/Users/cs/adina/
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>>
>>>>>>>> *Amila Wijayarathna*
>>>>>>>> Undergraduate,
>>>>>>>> Faculty of Information Technology,
>>>>>>>> University of Moratuwa,
>>>>>>>> Sri Lanka.
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>>
>>>>>> *Amila Wijayarathna*
>>>>>> Undergraduate,
>>>>>> Faculty of Information Technology,
>>>>>> University of Moratuwa,
>>>>>> Sri Lanka.
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>>
>>>>> *Amila Wijayarathna*
>>>>> Undergraduate,
>>>>> Faculty of Information Technology,
>>>>> University of Moratuwa,
>>>>> Sri Lanka.
>>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>>
>>> *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
>> adina@usna.edu
>> http://www.usna.edu/Users/cs/adina/
>>
>
>
>
> --
>
> *Amila Wijayarathna*
> Undergraduate,
> Faculty of Information Technology,
> University of Moratuwa,
> Sri Lanka.
>

Re: Rya-54 vagrant cleanup #47

Posted by Amila Wijayarathna <am...@gmail.com>.
Hi Adina,David,
So I "up" again the vagrant file and got this [1]. I think it went
successfully. But in the vm i got the terminal only.
Is this because a problem in Vagrant up?
any idea about this is appreciated.

[1]
https://gist.github.com/AmilaWijayarathna/2b84e6aae91799f2f03402d2dc304d16



On Fri, Jun 17, 2016 at 7:31 AM, Adina Crainiceanu <ad...@usna.edu> wrote:

> Hi David,
>
> I tried the new vagrant script from home and it worked without problems.
> However, after restarting the VM,  and starting zookeeper and accumulo in
> the VM, I'm not receiving any responses to queries using the OpenWorkbench
> or Rya web - the query is submitted, but the request from the browser just
> never returns. Not sure what is going on there.
>
> The problem Amila has with the vagrant seems to be the same one I have
> from school - we cannot download Rya from dropbox - some settings at out
> universities likely prevent that.
>
> Adina
>
> On Thu, Jun 16, 2016 at 8:46 AM, Amila Wijayarathna <
> amwijayarathna@gmail.com> wrote:
>
>> Hi David,
>> Again I "up" the vagrantfile in non proxy internet connection and I got
>> this [1]. And when I tried again it stops by the Hadoop installation. I
>> think this because of my internet connetion. I will try again and give you
>> some updates.
>>
>> [1]
>> https://gist.github.com/AmilaWijayarathna/9d295b4a6f911f9ed9ac6f1c1a5dface
>>
>> Thank you!
>>
>> On Wed, Jun 15, 2016 at 4:00 AM, David Lotts <dl...@gmail.com> wrote:
>>
>>> From your output [1], I suspect that it is this line in the vagrant file
>>> that is failing:
>>>
>>>  sudo -E add-apt-repository ppa:webupd8team/java
>>>
>>> And it generates this error from your output:
>>>
>>> ==> default: Error reading
>>> https://launchpad.net/api/1.0/~webupd8team/+archive/java: Service
>>> Temporarily Unavailable
>>>
>>> Perhaps the site was down?  The URL works for me now.  Try the command
>>> above ( add-apt-repository ) from the prompt in your VM.
>>>
>>> It may also be a proxy issue, described here :
>>> https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/516032
>>>
>>>     export https_proxy=http://www.example.com:8000/
>>>
>>> then do the command ( add-apt-repository ) above.
>>>
>>> If you you think you have it, or just want to try again, do this command
>>> from the host.  It will skip the vm creation. If it aborts again at the
>>> same place, you may need to delete the line that you did yourself (
>>> add-apt-repository ).
>>>
>>>     vagrant provision
>>>
>>> david.
>>>
>>> On Tue, Jun 14, 2016 at 5:38 PM, Amila Wijayarathna <
>>> amwijayarathna@gmail.com> wrote:
>>>
>>>> Hi David,
>>>>
>>>> I got these windows as well,
>>>>
>>>> Thank you!
>>>>
>>>>
>>>> On Wed, Jun 15, 2016 at 12:41 AM, Amila Wijayarathna <
>>>> amwijayarathna@gmail.com> wrote:
>>>>
>>>>> Hi David,
>>>>>
>>>>> Thank you for your prompt response.
>>>>> So I "up" the vagrant again in a non proxy internet connection and end
>>>>> up with this [1]. It has less errors than the earlier one. and when I do
>>>>> "vagrant ssh" i got the following,
>>>>>
>>>>> amila@amila-X550LD:~/Installs/ryaVagrant$   vagrant ssh
>>>>> Welcome to Ubuntu 14.04.4 LTS (GNU/Linux 3.13.0-87-generic x86_64)
>>>>>
>>>>>  * Documentation:  https://help.ubuntu.com/
>>>>>
>>>>>   System information as of Tue Jun 14 17:03:04 UTC 2016
>>>>>
>>>>>   System load:  0.96              Processes:           110
>>>>>   Usage of /:   3.5% of 39.34GB   Users logged in:     0
>>>>>   Memory usage: 3%                IP address for eth0: 10.0.2.15
>>>>>   Swap usage:   0%
>>>>>
>>>>>   Graph this data and manage this system at:
>>>>>     https://landscape.canonical.com/
>>>>>
>>>>>   Get cloud support with Ubuntu Advantage Cloud Guest:
>>>>>     http://www.ubuntu.com/business/services/cloud
>>>>>
>>>>> 0 packages can be updated.
>>>>> 0 updates are security updates.
>>>>>
>>>>>
>>>>> vagrant@rya-example-box:~$
>>>>>
>>>>> And after that I can run those two commands (ping google.com and wget
>>>>> http://google.com/) without any error.
>>>>> Is it ok? if it is I like to know how to proceed further.
>>>>>
>>>>> Thank you!
>>>>>
>>>>>
>>>>> [1]
>>>>> https://gist.github.com/AmilaWijayarathna/8a2a20e6a4a1b9b5449bad83f459762b
>>>>>
>>>>> On Tue, Jun 14, 2016 at 11:10 PM, David Lotts <dl...@gmail.com>
>>>>> wrote:
>>>>>
>>>>>> Wow, well documented attempt!  Thanks for the listings.
>>>>>>
>>>>>> So you brought "up" a default vagrant VM.
>>>>>> All the messages from [3] are as I would expect, that is great.
>>>>>>
>>>>>> Then your copied the Rya Vagrantfile, and did a vagrant up, creating
>>>>>> the output in [5].
>>>>>> It downloaded the vm image from cloudera successfully, so we know
>>>>>> your internet connection on the host is fine.
>>>>>> But then when the guest VM attempts to update it's libraries, we
>>>>>> start seeing all errors, starting with this one:
>>>>>>
>>>>>> ==> default: Failed to fetch
>>>>>> http://archive.ubuntu.com/ubuntu/dists/trusty/InRelease
>>>>>>
>>>>>> So I think something is wrong with your network inside the VM.
>>>>>> Run the command
>>>>>>     vagrant ssh
>>>>>> from it's install directory, then see if you can run these without
>>>>>> error:
>>>>>>     ping google.com
>>>>>> and/or
>>>>>>     wget http://google.com/
>>>>>>         => Resolving google.com (google.com)... Connecting to
>>>>>> google.com (google.com)
>>>>>>
>>>>>> I can't tell if your first VM [3] was able to connect, you might ssh
>>>>>> to it, and then ping and wget to see if it also has network problems.
>>>>>>
>>>>>> If you start the Virtualbox app, you can modify the network setting
>>>>>> for the box and see if you can get it working.  Maybe you can set a proxy
>>>>>> as you mentioned.
>>>>>>
>>>>>> david.
>>>>>>
>>>>>>
>>>>>> On Tue, Jun 14, 2016 at 12:36 PM, Amila Wijayarathna <
>>>>>> amwijayarathna@gmail.com> wrote:
>>>>>>
>>>>>>> Hi david,
>>>>>>> This is my first time, setting up a vagrant file.
>>>>>>> I downloaded the vagrant from [1] and downloaded a virtual box from
>>>>>>> [2].  As this is my first time i didn't know how to do it correctly. So i
>>>>>>> installed the the vagrant and up it other location that there  was no any
>>>>>>> Rya vagrant file. so i got this [3]. seems it set up successfully.
>>>>>>>
>>>>>>> After that I copied the vagrant file from [4] and made a Vagrantfile
>>>>>>> in a local location. when i do vagrant up in that location i got
>>>>>>> this [5]. it says something went wrong.
>>>>>>> I don't know this because is my Internet connection, because it has
>>>>>>> some proxy settings. I will look about it. Any idea about this is
>>>>>>> appreciated.
>>>>>>>
>>>>>>> Thank you!
>>>>>>>
>>>>>>>
>>>>>>> [1]  https://www.vagrantup.com/ <https://www.vagrantup.com/>
>>>>>>> [2] https://www.virtualbox.org/wiki/Linux_Downloads
>>>>>>> [3]
>>>>>>> https://gist.github.com/AmilaWijayarathna/52aa5da9a9c6e952967b1db1b01a1701
>>>>>>> [4]
>>>>>>> https://github.com/DLotts/incubator-rya/blob/RYA-54_vagrant-cleanup-squ/extras/vagrantExample/src/main/vagrant/Vagrantfile
>>>>>>> [5]
>>>>>>> https://gist.github.com/AmilaWijayarathna/9dd9ce075d98524dad9a97eb1d521e99
>>>>>>>
>>>>>>> On Mon, Jun 13, 2016 at 11:22 PM, Adina Crainiceanu <ad...@usna.edu>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> David, I'm travelling until Thursday. I'll try it then if Amila
>>>>>>>> does not do
>>>>>>>> it earlier.
>>>>>>>>
>>>>>>>> Thanks,
>>>>>>>> Adina
>>>>>>>>
>>>>>>>> On Mon, Jun 13, 2016 at 11:47 AM, David Lotts <dl...@gmail.com>
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>> > Adina, Amila, and everyone:
>>>>>>>> >
>>>>>>>> > Adina: Thanks for the great feedback!
>>>>>>>> > I think I have resolved everything that you mention, and a few
>>>>>>>> others.
>>>>>>>> > Are you able to run it again?
>>>>>>>> > I updated the readme.md also.
>>>>>>>> >
>>>>>>>> > It's in my Rya github branch "RYA-54_vagrant-cleanup-squ" :
>>>>>>>> >
>>>>>>>> >
>>>>>>>> >
>>>>>>>> https://github.com/DLotts/incubator-rya/blob/RYA-54_vagrant-cleanup-squ/extras/vagrantExample/src/main/vagrant
>>>>>>>> >
>>>>>>>> > Start-over instructions below.
>>>>>>>> >
>>>>>>>> > The pull request is here:
>>>>>>>> https://github.com/apache/incubator-rya/pull/47
>>>>>>>> > david.
>>>>>>>> >
>>>>>>>> >
>>>>>>>> > On Tue, May 17, 2016 at 10:54 AM, David Lotts <dl...@gmail.com>
>>>>>>>> wrote:
>>>>>>>> > Amila,
>>>>>>>> > I have re-worked the Vagrant Example.  There were some race
>>>>>>>> conditions and
>>>>>>>> > places where errors become lost or skipped over.
>>>>>>>> > [...old link removed...]
>>>>>>>> >
>>>>>>>> > It uses the same instructions.
>>>>>>>> > You can do the command:
>>>>>>>> >
>>>>>>>> >     vagrant destroy
>>>>>>>> >
>>>>>>>> > To remove your last attempt.  Then use the new file and the same
>>>>>>>> readme to
>>>>>>>> > start over.
>>>>>>>> >
>>>>>>>> > The new version is made to be re-run and possible fix errors from
>>>>>>>> the last
>>>>>>>> > attempt -- so you could just copy this over your old version and
>>>>>>>> type:
>>>>>>>> >
>>>>>>>> >     vagrant provision
>>>>>>>> >
>>>>>>>> > Then follow the readme instructions.
>>>>>>>> > I am interested in your experience with this.
>>>>>>>> >
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Dr. Adina Crainiceanu
>>>>>>>> Associate Professor, Computer Science Department
>>>>>>>> United States Naval Academy
>>>>>>>> 410-293-6822
>>>>>>>> adina@usna.edu
>>>>>>>> http://www.usna.edu/Users/cs/adina/
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>>
>>>>>>> *Amila Wijayarathna*
>>>>>>> Undergraduate,
>>>>>>> Faculty of Information Technology,
>>>>>>> University of Moratuwa,
>>>>>>> Sri Lanka.
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>>
>>>>> *Amila Wijayarathna*
>>>>> Undergraduate,
>>>>> Faculty of Information Technology,
>>>>> University of Moratuwa,
>>>>> Sri Lanka.
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> *Amila Wijayarathna*
>>>> Undergraduate,
>>>> Faculty of Information Technology,
>>>> University of Moratuwa,
>>>> Sri Lanka.
>>>>
>>>
>>>
>>
>>
>> --
>>
>> *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
> adina@usna.edu
> http://www.usna.edu/Users/cs/adina/
>



-- 

*Amila Wijayarathna*
Undergraduate,
Faculty of Information Technology,
University of Moratuwa,
Sri Lanka.

Re: Rya-54 vagrant cleanup #47

Posted by Adina Crainiceanu <ad...@usna.edu>.
David,

Any issues I saw with the vagrant script are not due to your changes. The
script you created is better than the one before, and I think it should be
committed for this release.
Adina

On Fri, Jun 24, 2016 at 3:27 PM, David Lotts <dl...@gmail.com> wrote:

> So do you all see any new issues caused by these changes?
> Do you recommend that we commit my pull request so it will make it into the
> Release?
>
> david.
>
> On Fri, Jun 24, 2016 at 3:25 PM, David Lotts <dl...@gmail.com> wrote:
>
> > Amila and Adina,
> > regarding: You had to start Zookeeper manually.
> > Was that just after creating a new virtual machine? Or was that after
> > stopping and restarting, or perhaps suspending either your host or guest
> > machine?
> >
> > I can't figure out how zookeeper would be stopped if it was a fresh
> > install.  Do you think it was an issue with the vagrantfile script?
> >
> > Adina's issue occurred after she stopped and started the machine.  That
> is
> > still an open issue, room for improvement, but it was an issue before my
> > changes.
> >
> > (Amila: also note my response below to your issue with scripting being
> > turned off, I forgot to include the dev list.)
> > david.
> >
> >
> > On Tue, Jun 21, 2016 at 12:10 PM, David Lotts <dl...@gmail.com> wrote:
> >
> >> Amila,
> >>
> >> > Scripting is not enabled
> >> Your browser has javascript turned off.  Which browser?
> >> I was able to reproduce this in IE by going to Internet Options,
> >> Security, choosing 'Local intranet', Custom level, Scripting, Active
> >> scripting = disabled (enable to fix) :
> >> ```
> >> Scripting is not enabled. The OpenRDF Sesame Workbench application
> >> requires scripting to be enabled in order to work properly.
> >> ```
> >> david.
> >>
> >> On Tue, Jun 21, 2016 at 4:24 AM, Amila Wijayarathna <
> >> amwijayarathna@gmail.com> wrote:
> >>
> >>> Hi David,
> >>>  Sorry I accidentally press the send button.
> >>> Continuing from the previous,
> >>>
> >>> Now all the other verification steps are going ok except
> http://rya-example-box:8080/openrdf-workbench
> >>> . <http://rya-example-box:8080/openrdf-workbench>
> >>>
> >>> Any idea about this is appreciated.
> >>>
> >>> Thank you !
> >>>
> >>> <http://rya-example-box:8080/openrdf-workbench>
> >>>
> >>> On Tue, Jun 21, 2016 at 1:48 PM, Amila Wijayarathna <
> >>> amwijayarathna@gmail.com> wrote:
> >>>
> >>>> Hi David,
> >>>>
> >>>>  Yes I went through the verification steps, first they went
> >>>> successfully. So I tried to upload data as in the readme.md.
> >>>> First I tried to upload data from url, so I did as in the readme but
> >>>> when I upload it says
> >>>>
> >>>> HTTP Status 500 - org.openrdf.repository.RepositoryException: Failed
> to
> >>>> upload data: Failed to connect to zookeeper (localhost) within 2x
> zookeeper
> >>>> timeout period 30000
> >>>>
> >>>> So after that I entered data to the text field and it got the same
> >>>> result. I got some ideas from Adina and figured out that zookeeper is
> not
> >>>> working well. Then I started zookeeper manually.
> >>>> After that when I tried to upload data it doesn't give any return. It
> >>>> loading for long time. so I went back and there is a massage in home
> page
> >>>> of openRDFworkbench
> >>>>
> >>>> Scripting is not enabled. The OpenRDF Sesame Workbench application
> >>>> requires scripting to be enabled in order to work properly.
> >>>>
> >>>> Now all the other verification steps are going ok except
> >>>>
> >>>>
> >>>>
> >>>> On Tue, Jun 21, 2016 at 3:29 AM, David Lotts <dl...@gmail.com>
> wrote:
> >>>>
> >>>>> Adina,
> >>>>> > However, after restarting the VM,  and starting zookeeper and
> >>>>> accumulo in the VM,
> >>>>>
> >>>>> Can you try "ryaps" from the VM command line?
> >>>>> Output should look like this:
> >>>>> ```
> >>>>> org.apache.zookeeper.server.quorum.QuorumPeerMain
> >>>>> org.apache.accumulo.start.Main monitor
> >>>>> org.apache.accumulo.start.Main tserver
> >>>>> org.apache.accumulo.start.Main master
> >>>>> org.apache.accumulo.start.Main gc
> >>>>> org.apache.accumulo.start.Main tracer
> >>>>> org.apache.catalina.startup.Bootstrap
> >>>>> ```
> >>>>>
> >>>>> > I'm not receiving any responses to queries using the OpenWorkbench
> >>>>> or
> >>>>> > Rya web - the query is submitted, but the request from the browser
> >>>>> just never returns. Not sure what is going on there.
> >>>>>
> >>>>> Sounds like Accumulo is down.
> >>>>> Unfortunately, I seen some issues with restarting the VM.  I hoped
> >>>>> your suggestion to move the Zookeeper data directory would fix that,
> but it
> >>>>> still fails to start sometimes.  It may have to do with my machine
> going to
> >>>>> into hibernation.
> >>>>>
> >>>>> The work around is to "vagrant provision" from the host -- which does
> >>>>> not re-download nor delete data.
> >>>>>
> >>>>> If that does not work, then:
> >>>>> From within the VM, run:
> >>>>>     sudo rm -r /data
> >>>>>     sudo rm -r /var/zookeeper/
> >>>>> Then from the host:
> >>>>>     vagrant provision
> >>>>>
> >>>>> This is in the vagrant-example readme.md.
> >>>>>
> >>>>> david.
> >>>>>
> >>>>> On Thu, Jun 16, 2016 at 10:01 PM, Adina Crainiceanu <ad...@usna.edu>
> >>>>> wrote:
> >>>>>
> >>>>>> Hi David,
> >>>>>>
> >>>>>> I tried the new vagrant script from home and it worked without
> >>>>>> problems.  However, after restarting the VM,  and starting
> zookeeper and
> >>>>>> accumulo in the VM, I'm not receiving any responses to queries
> using the
> >>>>>> OpenWorkbench or Rya web - the query is submitted, but the request
> from the
> >>>>>> browser just never returns. Not sure what is going on there.
> >>>>>>
> >>>>>> The problem Amila has with the vagrant seems to be the same one I
> >>>>>> have from school - we cannot download Rya from dropbox - some
> settings at
> >>>>>> out universities likely prevent that.
> >>>>>>
> >>>>>> Adina
> >>>>>>
> >>>>>
> >
>



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

Re: Rya-54 vagrant cleanup #47

Posted by David Lotts <dl...@gmail.com>.
So do you all see any new issues caused by these changes?
Do you recommend that we commit my pull request so it will make it into the
Release?

david.

On Fri, Jun 24, 2016 at 3:25 PM, David Lotts <dl...@gmail.com> wrote:

> Amila and Adina,
> regarding: You had to start Zookeeper manually.
> Was that just after creating a new virtual machine? Or was that after
> stopping and restarting, or perhaps suspending either your host or guest
> machine?
>
> I can't figure out how zookeeper would be stopped if it was a fresh
> install.  Do you think it was an issue with the vagrantfile script?
>
> Adina's issue occurred after she stopped and started the machine.  That is
> still an open issue, room for improvement, but it was an issue before my
> changes.
>
> (Amila: also note my response below to your issue with scripting being
> turned off, I forgot to include the dev list.)
> david.
>
>
> On Tue, Jun 21, 2016 at 12:10 PM, David Lotts <dl...@gmail.com> wrote:
>
>> Amila,
>>
>> > Scripting is not enabled
>> Your browser has javascript turned off.  Which browser?
>> I was able to reproduce this in IE by going to Internet Options,
>> Security, choosing 'Local intranet', Custom level, Scripting, Active
>> scripting = disabled (enable to fix) :
>> ```
>> Scripting is not enabled. The OpenRDF Sesame Workbench application
>> requires scripting to be enabled in order to work properly.
>> ```
>> david.
>>
>> On Tue, Jun 21, 2016 at 4:24 AM, Amila Wijayarathna <
>> amwijayarathna@gmail.com> wrote:
>>
>>> Hi David,
>>>  Sorry I accidentally press the send button.
>>> Continuing from the previous,
>>>
>>> Now all the other verification steps are going ok except http://rya-example-box:8080/openrdf-workbench
>>> . <http://rya-example-box:8080/openrdf-workbench>
>>>
>>> Any idea about this is appreciated.
>>>
>>> Thank you !
>>>
>>> <http://rya-example-box:8080/openrdf-workbench>
>>>
>>> On Tue, Jun 21, 2016 at 1:48 PM, Amila Wijayarathna <
>>> amwijayarathna@gmail.com> wrote:
>>>
>>>> Hi David,
>>>>
>>>>  Yes I went through the verification steps, first they went
>>>> successfully. So I tried to upload data as in the readme.md.
>>>> First I tried to upload data from url, so I did as in the readme but
>>>> when I upload it says
>>>>
>>>> HTTP Status 500 - org.openrdf.repository.RepositoryException: Failed to
>>>> upload data: Failed to connect to zookeeper (localhost) within 2x zookeeper
>>>> timeout period 30000
>>>>
>>>> So after that I entered data to the text field and it got the same
>>>> result. I got some ideas from Adina and figured out that zookeeper is not
>>>> working well. Then I started zookeeper manually.
>>>> After that when I tried to upload data it doesn't give any return. It
>>>> loading for long time. so I went back and there is a massage in home page
>>>> of openRDFworkbench
>>>>
>>>> Scripting is not enabled. The OpenRDF Sesame Workbench application
>>>> requires scripting to be enabled in order to work properly.
>>>>
>>>> Now all the other verification steps are going ok except
>>>>
>>>>
>>>>
>>>> On Tue, Jun 21, 2016 at 3:29 AM, David Lotts <dl...@gmail.com> wrote:
>>>>
>>>>> Adina,
>>>>> > However, after restarting the VM,  and starting zookeeper and
>>>>> accumulo in the VM,
>>>>>
>>>>> Can you try "ryaps" from the VM command line?
>>>>> Output should look like this:
>>>>> ```
>>>>> org.apache.zookeeper.server.quorum.QuorumPeerMain
>>>>> org.apache.accumulo.start.Main monitor
>>>>> org.apache.accumulo.start.Main tserver
>>>>> org.apache.accumulo.start.Main master
>>>>> org.apache.accumulo.start.Main gc
>>>>> org.apache.accumulo.start.Main tracer
>>>>> org.apache.catalina.startup.Bootstrap
>>>>> ```
>>>>>
>>>>> > I'm not receiving any responses to queries using the OpenWorkbench
>>>>> or
>>>>> > Rya web - the query is submitted, but the request from the browser
>>>>> just never returns. Not sure what is going on there.
>>>>>
>>>>> Sounds like Accumulo is down.
>>>>> Unfortunately, I seen some issues with restarting the VM.  I hoped
>>>>> your suggestion to move the Zookeeper data directory would fix that, but it
>>>>> still fails to start sometimes.  It may have to do with my machine going to
>>>>> into hibernation.
>>>>>
>>>>> The work around is to "vagrant provision" from the host -- which does
>>>>> not re-download nor delete data.
>>>>>
>>>>> If that does not work, then:
>>>>> From within the VM, run:
>>>>>     sudo rm -r /data
>>>>>     sudo rm -r /var/zookeeper/
>>>>> Then from the host:
>>>>>     vagrant provision
>>>>>
>>>>> This is in the vagrant-example readme.md.
>>>>>
>>>>> david.
>>>>>
>>>>> On Thu, Jun 16, 2016 at 10:01 PM, Adina Crainiceanu <ad...@usna.edu>
>>>>> wrote:
>>>>>
>>>>>> Hi David,
>>>>>>
>>>>>> I tried the new vagrant script from home and it worked without
>>>>>> problems.  However, after restarting the VM,  and starting zookeeper and
>>>>>> accumulo in the VM, I'm not receiving any responses to queries using the
>>>>>> OpenWorkbench or Rya web - the query is submitted, but the request from the
>>>>>> browser just never returns. Not sure what is going on there.
>>>>>>
>>>>>> The problem Amila has with the vagrant seems to be the same one I
>>>>>> have from school - we cannot download Rya from dropbox - some settings at
>>>>>> out universities likely prevent that.
>>>>>>
>>>>>> Adina
>>>>>>
>>>>>
>

Re: Rya-54 vagrant cleanup #47

Posted by David Lotts <dl...@gmail.com>.
Amila and Adina,
regarding: You had to start Zookeeper manually.
Was that just after creating a new virtual machine? Or was that after
stopping and restarting, or perhaps suspending either your host or guest
machine?

I can't figure out how zookeeper would be stopped if it was a fresh
install.  Do you think it was an issue with the vagrantfile script?

Adina's issue occurred after she stopped and started the machine.  That is
still an open issue, room for improvement, but it was an issue before my
changes.

(Amila: also note my response below to your issue with scripting being
turned off, I forgot to include the dev list.)
david.

On Tue, Jun 21, 2016 at 12:10 PM, David Lotts <dl...@gmail.com> wrote:

> Amila,
>
> > Scripting is not enabled
> Your browser has javascript turned off.  Which browser?
> I was able to reproduce this in IE by going to Internet Options, Security,
> choosing 'Local intranet', Custom level, Scripting, Active scripting =
> disabled (enable to fix) :
> ```
> Scripting is not enabled. The OpenRDF Sesame Workbench application
> requires scripting to be enabled in order to work properly.
> ```
> david.
>
> On Tue, Jun 21, 2016 at 4:24 AM, Amila Wijayarathna <
> amwijayarathna@gmail.com> wrote:
>
>> Hi David,
>>  Sorry I accidentally press the send button.
>> Continuing from the previous,
>>
>> Now all the other verification steps are going ok except http://rya-example-box:8080/openrdf-workbench
>> . <http://rya-example-box:8080/openrdf-workbench>
>>
>> Any idea about this is appreciated.
>>
>> Thank you !
>>
>> <http://rya-example-box:8080/openrdf-workbench>
>>
>> On Tue, Jun 21, 2016 at 1:48 PM, Amila Wijayarathna <
>> amwijayarathna@gmail.com> wrote:
>>
>>> Hi David,
>>>
>>>  Yes I went through the verification steps, first they went
>>> successfully. So I tried to upload data as in the readme.md.
>>> First I tried to upload data from url, so I did as in the readme but
>>> when I upload it says
>>>
>>> HTTP Status 500 - org.openrdf.repository.RepositoryException: Failed to
>>> upload data: Failed to connect to zookeeper (localhost) within 2x zookeeper
>>> timeout period 30000
>>>
>>> So after that I entered data to the text field and it got the same
>>> result. I got some ideas from Adina and figured out that zookeeper is not
>>> working well. Then I started zookeeper manually.
>>> After that when I tried to upload data it doesn't give any return. It
>>> loading for long time. so I went back and there is a massage in home page
>>> of openRDFworkbench
>>>
>>> Scripting is not enabled. The OpenRDF Sesame Workbench application
>>> requires scripting to be enabled in order to work properly.
>>>
>>> Now all the other verification steps are going ok except
>>>
>>>
>>>
>>> On Tue, Jun 21, 2016 at 3:29 AM, David Lotts <dl...@gmail.com> wrote:
>>>
>>>> Adina,
>>>> > However, after restarting the VM,  and starting zookeeper and
>>>> accumulo in the VM,
>>>>
>>>> Can you try "ryaps" from the VM command line?
>>>> Output should look like this:
>>>> ```
>>>> org.apache.zookeeper.server.quorum.QuorumPeerMain
>>>> org.apache.accumulo.start.Main monitor
>>>> org.apache.accumulo.start.Main tserver
>>>> org.apache.accumulo.start.Main master
>>>> org.apache.accumulo.start.Main gc
>>>> org.apache.accumulo.start.Main tracer
>>>> org.apache.catalina.startup.Bootstrap
>>>> ```
>>>>
>>>> > I'm not receiving any responses to queries using the OpenWorkbench or
>>>> > Rya web - the query is submitted, but the request from the browser
>>>> just never returns. Not sure what is going on there.
>>>>
>>>> Sounds like Accumulo is down.
>>>> Unfortunately, I seen some issues with restarting the VM.  I hoped your
>>>> suggestion to move the Zookeeper data directory would fix that, but it
>>>> still fails to start sometimes.  It may have to do with my machine going to
>>>> into hibernation.
>>>>
>>>> The work around is to "vagrant provision" from the host -- which does
>>>> not re-download nor delete data.
>>>>
>>>> If that does not work, then:
>>>> From within the VM, run:
>>>>     sudo rm -r /data
>>>>     sudo rm -r /var/zookeeper/
>>>> Then from the host:
>>>>     vagrant provision
>>>>
>>>> This is in the vagrant-example readme.md.
>>>>
>>>> david.
>>>>
>>>> On Thu, Jun 16, 2016 at 10:01 PM, Adina Crainiceanu <ad...@usna.edu>
>>>> wrote:
>>>>
>>>>> Hi David,
>>>>>
>>>>> I tried the new vagrant script from home and it worked without
>>>>> problems.  However, after restarting the VM,  and starting zookeeper and
>>>>> accumulo in the VM, I'm not receiving any responses to queries using the
>>>>> OpenWorkbench or Rya web - the query is submitted, but the request from the
>>>>> browser just never returns. Not sure what is going on there.
>>>>>
>>>>> The problem Amila has with the vagrant seems to be the same one I have
>>>>> from school - we cannot download Rya from dropbox - some settings at out
>>>>> universities likely prevent that.
>>>>>
>>>>> Adina
>>>>>
>>>>

Re: Rya-54 vagrant cleanup #47

Posted by Amila Wijayarathna <am...@gmail.com>.
Hi David,
 Sorry I accidentally press the send button.
Continuing from the previous,

Now all the other verification steps are going ok except
http://rya-example-box:8080/openrdf-workbench
. <http://rya-example-box:8080/openrdf-workbench>

Any idea about this is appreciated.

Thank you !

<http://rya-example-box:8080/openrdf-workbench>

On Tue, Jun 21, 2016 at 1:48 PM, Amila Wijayarathna <
amwijayarathna@gmail.com> wrote:

> Hi David,
>
>  Yes I went through the verification steps, first they went successfully.
> So I tried to upload data as in the readme.md.
> First I tried to upload data from url, so I did as in the readme but when
> I upload it says
>
> HTTP Status 500 - org.openrdf.repository.RepositoryException: Failed to
> upload data: Failed to connect to zookeeper (localhost) within 2x zookeeper
> timeout period 30000
>
> So after that I entered data to the text field and it got the same result.
> I got some ideas from Adina and figured out that zookeeper is not working
> well. Then I started zookeeper manually.
> After that when I tried to upload data it doesn't give any return. It
> loading for long time. so I went back and there is a massage in home page
> of openRDFworkbench
>
> Scripting is not enabled. The OpenRDF Sesame Workbench application
> requires scripting to be enabled in order to work properly.
>
> Now all the other verification steps are going ok except
>
>
>
> On Tue, Jun 21, 2016 at 3:29 AM, David Lotts <dl...@gmail.com> wrote:
>
>> Adina,
>> > However, after restarting the VM,  and starting zookeeper and accumulo
>> in the VM,
>>
>> Can you try "ryaps" from the VM command line?
>> Output should look like this:
>> ```
>> org.apache.zookeeper.server.quorum.QuorumPeerMain
>> org.apache.accumulo.start.Main monitor
>> org.apache.accumulo.start.Main tserver
>> org.apache.accumulo.start.Main master
>> org.apache.accumulo.start.Main gc
>> org.apache.accumulo.start.Main tracer
>> org.apache.catalina.startup.Bootstrap
>> ```
>>
>> > I'm not receiving any responses to queries using the OpenWorkbench or
>> > Rya web - the query is submitted, but the request from the browser just
>> never returns. Not sure what is going on there.
>>
>> Sounds like Accumulo is down.
>> Unfortunately, I seen some issues with restarting the VM.  I hoped your
>> suggestion to move the Zookeeper data directory would fix that, but it
>> still fails to start sometimes.  It may have to do with my machine going to
>> into hibernation.
>>
>> The work around is to "vagrant provision" from the host -- which does not
>> re-download nor delete data.
>>
>> If that does not work, then:
>> From within the VM, run:
>>     sudo rm -r /data
>>     sudo rm -r /var/zookeeper/
>> Then from the host:
>>     vagrant provision
>>
>> This is in the vagrant-example readme.md.
>>
>> david.
>>
>> On Thu, Jun 16, 2016 at 10:01 PM, Adina Crainiceanu <ad...@usna.edu>
>> wrote:
>>
>>> Hi David,
>>>
>>> I tried the new vagrant script from home and it worked without
>>> problems.  However, after restarting the VM,  and starting zookeeper and
>>> accumulo in the VM, I'm not receiving any responses to queries using the
>>> OpenWorkbench or Rya web - the query is submitted, but the request from the
>>> browser just never returns. Not sure what is going on there.
>>>
>>> The problem Amila has with the vagrant seems to be the same one I have
>>> from school - we cannot download Rya from dropbox - some settings at out
>>> universities likely prevent that.
>>>
>>> Adina
>>>
>>>
>>
>
>
> --
>
> *Amila Wijayarathna*
> Undergraduate,
> Faculty of Information Technology,
> University of Moratuwa,
> Sri Lanka.
>



-- 

*Amila Wijayarathna*
Undergraduate,
Faculty of Information Technology,
University of Moratuwa,
Sri Lanka.

Re: Rya-54 vagrant cleanup #47

Posted by Amila Wijayarathna <am...@gmail.com>.
Hi David,

 Yes I went through the verification steps, first they went successfully.
So I tried to upload data as in the readme.md.
First I tried to upload data from url, so I did as in the readme but when I
upload it says

HTTP Status 500 - org.openrdf.repository.RepositoryException: Failed to
upload data: Failed to connect to zookeeper (localhost) within 2x zookeeper
timeout period 30000

So after that I entered data to the text field and it got the same result.
I got some ideas from Adina and figured out that zookeeper is not working
well. Then I started zookeeper manually.
After that when I tried to upload data it doesn't give any return. It
loading for long time. so I went back and there is a massage in home page
of openRDFworkbench

Scripting is not enabled. The OpenRDF Sesame Workbench application requires
scripting to be enabled in order to work properly.

Now all the other verification steps are going ok except



On Tue, Jun 21, 2016 at 3:29 AM, David Lotts <dl...@gmail.com> wrote:

> Adina,
> > However, after restarting the VM,  and starting zookeeper and accumulo
> in the VM,
>
> Can you try "ryaps" from the VM command line?
> Output should look like this:
> ```
> org.apache.zookeeper.server.quorum.QuorumPeerMain
> org.apache.accumulo.start.Main monitor
> org.apache.accumulo.start.Main tserver
> org.apache.accumulo.start.Main master
> org.apache.accumulo.start.Main gc
> org.apache.accumulo.start.Main tracer
> org.apache.catalina.startup.Bootstrap
> ```
>
> > I'm not receiving any responses to queries using the OpenWorkbench or
> > Rya web - the query is submitted, but the request from the browser just
> never returns. Not sure what is going on there.
>
> Sounds like Accumulo is down.
> Unfortunately, I seen some issues with restarting the VM.  I hoped your
> suggestion to move the Zookeeper data directory would fix that, but it
> still fails to start sometimes.  It may have to do with my machine going to
> into hibernation.
>
> The work around is to "vagrant provision" from the host -- which does not
> re-download nor delete data.
>
> If that does not work, then:
> From within the VM, run:
>     sudo rm -r /data
>     sudo rm -r /var/zookeeper/
> Then from the host:
>     vagrant provision
>
> This is in the vagrant-example readme.md.
>
> david.
>
> On Thu, Jun 16, 2016 at 10:01 PM, Adina Crainiceanu <ad...@usna.edu>
> wrote:
>
>> Hi David,
>>
>> I tried the new vagrant script from home and it worked without problems.
>> However, after restarting the VM,  and starting zookeeper and accumulo in
>> the VM, I'm not receiving any responses to queries using the OpenWorkbench
>> or Rya web - the query is submitted, but the request from the browser just
>> never returns. Not sure what is going on there.
>>
>> The problem Amila has with the vagrant seems to be the same one I have
>> from school - we cannot download Rya from dropbox - some settings at out
>> universities likely prevent that.
>>
>> Adina
>>
>>
>


-- 

*Amila Wijayarathna*
Undergraduate,
Faculty of Information Technology,
University of Moratuwa,
Sri Lanka.

Re: Rya-54 vagrant cleanup #47

Posted by David Lotts <dl...@gmail.com>.
Adina,
> However, after restarting the VM,  and starting zookeeper and accumulo in
the VM,

Can you try "ryaps" from the VM command line?
Output should look like this:
```
org.apache.zookeeper.server.quorum.QuorumPeerMain
org.apache.accumulo.start.Main monitor
org.apache.accumulo.start.Main tserver
org.apache.accumulo.start.Main master
org.apache.accumulo.start.Main gc
org.apache.accumulo.start.Main tracer
org.apache.catalina.startup.Bootstrap
```

> I'm not receiving any responses to queries using the OpenWorkbench or
> Rya web - the query is submitted, but the request from the browser just
never returns. Not sure what is going on there.

Sounds like Accumulo is down.
Unfortunately, I seen some issues with restarting the VM.  I hoped your
suggestion to move the Zookeeper data directory would fix that, but it
still fails to start sometimes.  It may have to do with my machine going to
into hibernation.

The work around is to "vagrant provision" from the host -- which does not
re-download nor delete data.

If that does not work, then:
From within the VM, run:
    sudo rm -r /data
    sudo rm -r /var/zookeeper/
Then from the host:
    vagrant provision

This is in the vagrant-example readme.md.

david.

On Thu, Jun 16, 2016 at 10:01 PM, Adina Crainiceanu <ad...@usna.edu> wrote:

> Hi David,
>
> I tried the new vagrant script from home and it worked without problems.
> However, after restarting the VM,  and starting zookeeper and accumulo in
> the VM, I'm not receiving any responses to queries using the OpenWorkbench
> or Rya web - the query is submitted, but the request from the browser just
> never returns. Not sure what is going on there.
>
> The problem Amila has with the vagrant seems to be the same one I have
> from school - we cannot download Rya from dropbox - some settings at out
> universities likely prevent that.
>
> Adina
>
>

Re: Rya-54 vagrant cleanup #47

Posted by Adina Crainiceanu <ad...@usna.edu>.
Hi David,

I tried the new vagrant script from home and it worked without problems.
However, after restarting the VM,  and starting zookeeper and accumulo in
the VM, I'm not receiving any responses to queries using the OpenWorkbench
or Rya web - the query is submitted, but the request from the browser just
never returns. Not sure what is going on there.

The problem Amila has with the vagrant seems to be the same one I have from
school - we cannot download Rya from dropbox - some settings at out
universities likely prevent that.

Adina

On Thu, Jun 16, 2016 at 8:46 AM, Amila Wijayarathna <
amwijayarathna@gmail.com> wrote:

> Hi David,
> Again I "up" the vagrantfile in non proxy internet connection and I got
> this [1]. And when I tried again it stops by the Hadoop installation. I
> think this because of my internet connetion. I will try again and give you
> some updates.
>
> [1]
> https://gist.github.com/AmilaWijayarathna/9d295b4a6f911f9ed9ac6f1c1a5dface
>
> Thank you!
>
> On Wed, Jun 15, 2016 at 4:00 AM, David Lotts <dl...@gmail.com> wrote:
>
>> From your output [1], I suspect that it is this line in the vagrant file
>> that is failing:
>>
>>  sudo -E add-apt-repository ppa:webupd8team/java
>>
>> And it generates this error from your output:
>>
>> ==> default: Error reading
>> https://launchpad.net/api/1.0/~webupd8team/+archive/java: Service
>> Temporarily Unavailable
>>
>> Perhaps the site was down?  The URL works for me now.  Try the command
>> above ( add-apt-repository ) from the prompt in your VM.
>>
>> It may also be a proxy issue, described here :
>> https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/516032
>>
>>     export https_proxy=http://www.example.com:8000/
>>
>> then do the command ( add-apt-repository ) above.
>>
>> If you you think you have it, or just want to try again, do this command
>> from the host.  It will skip the vm creation. If it aborts again at the
>> same place, you may need to delete the line that you did yourself (
>> add-apt-repository ).
>>
>>     vagrant provision
>>
>> david.
>>
>> On Tue, Jun 14, 2016 at 5:38 PM, Amila Wijayarathna <
>> amwijayarathna@gmail.com> wrote:
>>
>>> Hi David,
>>>
>>> I got these windows as well,
>>>
>>> Thank you!
>>>
>>>
>>> On Wed, Jun 15, 2016 at 12:41 AM, Amila Wijayarathna <
>>> amwijayarathna@gmail.com> wrote:
>>>
>>>> Hi David,
>>>>
>>>> Thank you for your prompt response.
>>>> So I "up" the vagrant again in a non proxy internet connection and end
>>>> up with this [1]. It has less errors than the earlier one. and when I do
>>>> "vagrant ssh" i got the following,
>>>>
>>>> amila@amila-X550LD:~/Installs/ryaVagrant$   vagrant ssh
>>>> Welcome to Ubuntu 14.04.4 LTS (GNU/Linux 3.13.0-87-generic x86_64)
>>>>
>>>>  * Documentation:  https://help.ubuntu.com/
>>>>
>>>>   System information as of Tue Jun 14 17:03:04 UTC 2016
>>>>
>>>>   System load:  0.96              Processes:           110
>>>>   Usage of /:   3.5% of 39.34GB   Users logged in:     0
>>>>   Memory usage: 3%                IP address for eth0: 10.0.2.15
>>>>   Swap usage:   0%
>>>>
>>>>   Graph this data and manage this system at:
>>>>     https://landscape.canonical.com/
>>>>
>>>>   Get cloud support with Ubuntu Advantage Cloud Guest:
>>>>     http://www.ubuntu.com/business/services/cloud
>>>>
>>>> 0 packages can be updated.
>>>> 0 updates are security updates.
>>>>
>>>>
>>>> vagrant@rya-example-box:~$
>>>>
>>>> And after that I can run those two commands (ping google.com and wget
>>>> http://google.com/) without any error.
>>>> Is it ok? if it is I like to know how to proceed further.
>>>>
>>>> Thank you!
>>>>
>>>>
>>>> [1]
>>>> https://gist.github.com/AmilaWijayarathna/8a2a20e6a4a1b9b5449bad83f459762b
>>>>
>>>> On Tue, Jun 14, 2016 at 11:10 PM, David Lotts <dl...@gmail.com> wrote:
>>>>
>>>>> Wow, well documented attempt!  Thanks for the listings.
>>>>>
>>>>> So you brought "up" a default vagrant VM.
>>>>> All the messages from [3] are as I would expect, that is great.
>>>>>
>>>>> Then your copied the Rya Vagrantfile, and did a vagrant up, creating
>>>>> the output in [5].
>>>>> It downloaded the vm image from cloudera successfully, so we know your
>>>>> internet connection on the host is fine.
>>>>> But then when the guest VM attempts to update it's libraries, we start
>>>>> seeing all errors, starting with this one:
>>>>>
>>>>> ==> default: Failed to fetch
>>>>> http://archive.ubuntu.com/ubuntu/dists/trusty/InRelease
>>>>>
>>>>> So I think something is wrong with your network inside the VM.
>>>>> Run the command
>>>>>     vagrant ssh
>>>>> from it's install directory, then see if you can run these without
>>>>> error:
>>>>>     ping google.com
>>>>> and/or
>>>>>     wget http://google.com/
>>>>>         => Resolving google.com (google.com)... Connecting to
>>>>> google.com (google.com)
>>>>>
>>>>> I can't tell if your first VM [3] was able to connect, you might ssh
>>>>> to it, and then ping and wget to see if it also has network problems.
>>>>>
>>>>> If you start the Virtualbox app, you can modify the network setting
>>>>> for the box and see if you can get it working.  Maybe you can set a proxy
>>>>> as you mentioned.
>>>>>
>>>>> david.
>>>>>
>>>>>
>>>>> On Tue, Jun 14, 2016 at 12:36 PM, Amila Wijayarathna <
>>>>> amwijayarathna@gmail.com> wrote:
>>>>>
>>>>>> Hi david,
>>>>>> This is my first time, setting up a vagrant file.
>>>>>> I downloaded the vagrant from [1] and downloaded a virtual box from
>>>>>> [2].  As this is my first time i didn't know how to do it correctly. So i
>>>>>> installed the the vagrant and up it other location that there  was no any
>>>>>> Rya vagrant file. so i got this [3]. seems it set up successfully.
>>>>>>
>>>>>> After that I copied the vagrant file from [4] and made a Vagrantfile
>>>>>> in a local location. when i do vagrant up in that location i got
>>>>>> this [5]. it says something went wrong.
>>>>>> I don't know this because is my Internet connection, because it has
>>>>>> some proxy settings. I will look about it. Any idea about this is
>>>>>> appreciated.
>>>>>>
>>>>>> Thank you!
>>>>>>
>>>>>>
>>>>>> [1]  https://www.vagrantup.com/ <https://www.vagrantup.com/>
>>>>>> [2] https://www.virtualbox.org/wiki/Linux_Downloads
>>>>>> [3]
>>>>>> https://gist.github.com/AmilaWijayarathna/52aa5da9a9c6e952967b1db1b01a1701
>>>>>> [4]
>>>>>> https://github.com/DLotts/incubator-rya/blob/RYA-54_vagrant-cleanup-squ/extras/vagrantExample/src/main/vagrant/Vagrantfile
>>>>>> [5]
>>>>>> https://gist.github.com/AmilaWijayarathna/9dd9ce075d98524dad9a97eb1d521e99
>>>>>>
>>>>>> On Mon, Jun 13, 2016 at 11:22 PM, Adina Crainiceanu <ad...@usna.edu>
>>>>>> wrote:
>>>>>>
>>>>>>> David, I'm travelling until Thursday. I'll try it then if Amila does
>>>>>>> not do
>>>>>>> it earlier.
>>>>>>>
>>>>>>> Thanks,
>>>>>>> Adina
>>>>>>>
>>>>>>> On Mon, Jun 13, 2016 at 11:47 AM, David Lotts <dl...@gmail.com>
>>>>>>> wrote:
>>>>>>>
>>>>>>> > Adina, Amila, and everyone:
>>>>>>> >
>>>>>>> > Adina: Thanks for the great feedback!
>>>>>>> > I think I have resolved everything that you mention, and a few
>>>>>>> others.
>>>>>>> > Are you able to run it again?
>>>>>>> > I updated the readme.md also.
>>>>>>> >
>>>>>>> > It's in my Rya github branch "RYA-54_vagrant-cleanup-squ" :
>>>>>>> >
>>>>>>> >
>>>>>>> >
>>>>>>> https://github.com/DLotts/incubator-rya/blob/RYA-54_vagrant-cleanup-squ/extras/vagrantExample/src/main/vagrant
>>>>>>> >
>>>>>>> > Start-over instructions below.
>>>>>>> >
>>>>>>> > The pull request is here:
>>>>>>> https://github.com/apache/incubator-rya/pull/47
>>>>>>> > david.
>>>>>>> >
>>>>>>> >
>>>>>>> > On Tue, May 17, 2016 at 10:54 AM, David Lotts <dl...@gmail.com>
>>>>>>> wrote:
>>>>>>> > Amila,
>>>>>>> > I have re-worked the Vagrant Example.  There were some race
>>>>>>> conditions and
>>>>>>> > places where errors become lost or skipped over.
>>>>>>> > [...old link removed...]
>>>>>>> >
>>>>>>> > It uses the same instructions.
>>>>>>> > You can do the command:
>>>>>>> >
>>>>>>> >     vagrant destroy
>>>>>>> >
>>>>>>> > To remove your last attempt.  Then use the new file and the same
>>>>>>> readme to
>>>>>>> > start over.
>>>>>>> >
>>>>>>> > The new version is made to be re-run and possible fix errors from
>>>>>>> the last
>>>>>>> > attempt -- so you could just copy this over your old version and
>>>>>>> type:
>>>>>>> >
>>>>>>> >     vagrant provision
>>>>>>> >
>>>>>>> > Then follow the readme instructions.
>>>>>>> > I am interested in your experience with this.
>>>>>>> >
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Dr. Adina Crainiceanu
>>>>>>> Associate Professor, Computer Science Department
>>>>>>> United States Naval Academy
>>>>>>> 410-293-6822
>>>>>>> adina@usna.edu
>>>>>>> http://www.usna.edu/Users/cs/adina/
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>>
>>>>>> *Amila Wijayarathna*
>>>>>> Undergraduate,
>>>>>> Faculty of Information Technology,
>>>>>> University of Moratuwa,
>>>>>> Sri Lanka.
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> *Amila Wijayarathna*
>>>> Undergraduate,
>>>> Faculty of Information Technology,
>>>> University of Moratuwa,
>>>> Sri Lanka.
>>>>
>>>
>>>
>>>
>>> --
>>>
>>> *Amila Wijayarathna*
>>> Undergraduate,
>>> Faculty of Information Technology,
>>> University of Moratuwa,
>>> Sri Lanka.
>>>
>>
>>
>
>
> --
>
> *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
adina@usna.edu
http://www.usna.edu/Users/cs/adina/

Re: Rya-54 vagrant cleanup #47

Posted by Amila Wijayarathna <am...@gmail.com>.
Hi David,
Again I "up" the vagrantfile in non proxy internet connection and I got
this [1]. And when I tried again it stops by the Hadoop installation. I
think this because of my internet connetion. I will try again and give you
some updates.

[1]
https://gist.github.com/AmilaWijayarathna/9d295b4a6f911f9ed9ac6f1c1a5dface

Thank you!

On Wed, Jun 15, 2016 at 4:00 AM, David Lotts <dl...@gmail.com> wrote:

> From your output [1], I suspect that it is this line in the vagrant file
> that is failing:
>
>  sudo -E add-apt-repository ppa:webupd8team/java
>
> And it generates this error from your output:
>
> ==> default: Error reading
> https://launchpad.net/api/1.0/~webupd8team/+archive/java: Service
> Temporarily Unavailable
>
> Perhaps the site was down?  The URL works for me now.  Try the command
> above ( add-apt-repository ) from the prompt in your VM.
>
> It may also be a proxy issue, described here :
> https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/516032
>
>     export https_proxy=http://www.example.com:8000/
>
> then do the command ( add-apt-repository ) above.
>
> If you you think you have it, or just want to try again, do this command
> from the host.  It will skip the vm creation. If it aborts again at the
> same place, you may need to delete the line that you did yourself (
> add-apt-repository ).
>
>     vagrant provision
>
> david.
>
> On Tue, Jun 14, 2016 at 5:38 PM, Amila Wijayarathna <
> amwijayarathna@gmail.com> wrote:
>
>> Hi David,
>>
>> I got these windows as well,
>>
>> Thank you!
>>
>>
>> On Wed, Jun 15, 2016 at 12:41 AM, Amila Wijayarathna <
>> amwijayarathna@gmail.com> wrote:
>>
>>> Hi David,
>>>
>>> Thank you for your prompt response.
>>> So I "up" the vagrant again in a non proxy internet connection and end
>>> up with this [1]. It has less errors than the earlier one. and when I do
>>> "vagrant ssh" i got the following,
>>>
>>> amila@amila-X550LD:~/Installs/ryaVagrant$   vagrant ssh
>>> Welcome to Ubuntu 14.04.4 LTS (GNU/Linux 3.13.0-87-generic x86_64)
>>>
>>>  * Documentation:  https://help.ubuntu.com/
>>>
>>>   System information as of Tue Jun 14 17:03:04 UTC 2016
>>>
>>>   System load:  0.96              Processes:           110
>>>   Usage of /:   3.5% of 39.34GB   Users logged in:     0
>>>   Memory usage: 3%                IP address for eth0: 10.0.2.15
>>>   Swap usage:   0%
>>>
>>>   Graph this data and manage this system at:
>>>     https://landscape.canonical.com/
>>>
>>>   Get cloud support with Ubuntu Advantage Cloud Guest:
>>>     http://www.ubuntu.com/business/services/cloud
>>>
>>> 0 packages can be updated.
>>> 0 updates are security updates.
>>>
>>>
>>> vagrant@rya-example-box:~$
>>>
>>> And after that I can run those two commands (ping google.com and wget
>>> http://google.com/) without any error.
>>> Is it ok? if it is I like to know how to proceed further.
>>>
>>> Thank you!
>>>
>>>
>>> [1]
>>> https://gist.github.com/AmilaWijayarathna/8a2a20e6a4a1b9b5449bad83f459762b
>>>
>>> On Tue, Jun 14, 2016 at 11:10 PM, David Lotts <dl...@gmail.com> wrote:
>>>
>>>> Wow, well documented attempt!  Thanks for the listings.
>>>>
>>>> So you brought "up" a default vagrant VM.
>>>> All the messages from [3] are as I would expect, that is great.
>>>>
>>>> Then your copied the Rya Vagrantfile, and did a vagrant up, creating
>>>> the output in [5].
>>>> It downloaded the vm image from cloudera successfully, so we know your
>>>> internet connection on the host is fine.
>>>> But then when the guest VM attempts to update it's libraries, we start
>>>> seeing all errors, starting with this one:
>>>>
>>>> ==> default: Failed to fetch
>>>> http://archive.ubuntu.com/ubuntu/dists/trusty/InRelease
>>>>
>>>> So I think something is wrong with your network inside the VM.
>>>> Run the command
>>>>     vagrant ssh
>>>> from it's install directory, then see if you can run these without
>>>> error:
>>>>     ping google.com
>>>> and/or
>>>>     wget http://google.com/
>>>>         => Resolving google.com (google.com)... Connecting to
>>>> google.com (google.com)
>>>>
>>>> I can't tell if your first VM [3] was able to connect, you might ssh to
>>>> it, and then ping and wget to see if it also has network problems.
>>>>
>>>> If you start the Virtualbox app, you can modify the network setting for
>>>> the box and see if you can get it working.  Maybe you can set a proxy as
>>>> you mentioned.
>>>>
>>>> david.
>>>>
>>>>
>>>> On Tue, Jun 14, 2016 at 12:36 PM, Amila Wijayarathna <
>>>> amwijayarathna@gmail.com> wrote:
>>>>
>>>>> Hi david,
>>>>> This is my first time, setting up a vagrant file.
>>>>> I downloaded the vagrant from [1] and downloaded a virtual box from
>>>>> [2].  As this is my first time i didn't know how to do it correctly. So i
>>>>> installed the the vagrant and up it other location that there  was no any
>>>>> Rya vagrant file. so i got this [3]. seems it set up successfully.
>>>>>
>>>>> After that I copied the vagrant file from [4] and made a Vagrantfile
>>>>> in a local location. when i do vagrant up in that location i got this
>>>>> [5]. it says something went wrong.
>>>>> I don't know this because is my Internet connection, because it has
>>>>> some proxy settings. I will look about it. Any idea about this is
>>>>> appreciated.
>>>>>
>>>>> Thank you!
>>>>>
>>>>>
>>>>> [1]  https://www.vagrantup.com/ <https://www.vagrantup.com/>
>>>>> [2] https://www.virtualbox.org/wiki/Linux_Downloads
>>>>> [3]
>>>>> https://gist.github.com/AmilaWijayarathna/52aa5da9a9c6e952967b1db1b01a1701
>>>>> [4]
>>>>> https://github.com/DLotts/incubator-rya/blob/RYA-54_vagrant-cleanup-squ/extras/vagrantExample/src/main/vagrant/Vagrantfile
>>>>> [5]
>>>>> https://gist.github.com/AmilaWijayarathna/9dd9ce075d98524dad9a97eb1d521e99
>>>>>
>>>>> On Mon, Jun 13, 2016 at 11:22 PM, Adina Crainiceanu <ad...@usna.edu>
>>>>> wrote:
>>>>>
>>>>>> David, I'm travelling until Thursday. I'll try it then if Amila does
>>>>>> not do
>>>>>> it earlier.
>>>>>>
>>>>>> Thanks,
>>>>>> Adina
>>>>>>
>>>>>> On Mon, Jun 13, 2016 at 11:47 AM, David Lotts <dl...@gmail.com>
>>>>>> wrote:
>>>>>>
>>>>>> > Adina, Amila, and everyone:
>>>>>> >
>>>>>> > Adina: Thanks for the great feedback!
>>>>>> > I think I have resolved everything that you mention, and a few
>>>>>> others.
>>>>>> > Are you able to run it again?
>>>>>> > I updated the readme.md also.
>>>>>> >
>>>>>> > It's in my Rya github branch "RYA-54_vagrant-cleanup-squ" :
>>>>>> >
>>>>>> >
>>>>>> >
>>>>>> https://github.com/DLotts/incubator-rya/blob/RYA-54_vagrant-cleanup-squ/extras/vagrantExample/src/main/vagrant
>>>>>> >
>>>>>> > Start-over instructions below.
>>>>>> >
>>>>>> > The pull request is here:
>>>>>> https://github.com/apache/incubator-rya/pull/47
>>>>>> > david.
>>>>>> >
>>>>>> >
>>>>>> > On Tue, May 17, 2016 at 10:54 AM, David Lotts <dl...@gmail.com>
>>>>>> wrote:
>>>>>> > Amila,
>>>>>> > I have re-worked the Vagrant Example.  There were some race
>>>>>> conditions and
>>>>>> > places where errors become lost or skipped over.
>>>>>> > [...old link removed...]
>>>>>> >
>>>>>> > It uses the same instructions.
>>>>>> > You can do the command:
>>>>>> >
>>>>>> >     vagrant destroy
>>>>>> >
>>>>>> > To remove your last attempt.  Then use the new file and the same
>>>>>> readme to
>>>>>> > start over.
>>>>>> >
>>>>>> > The new version is made to be re-run and possible fix errors from
>>>>>> the last
>>>>>> > attempt -- so you could just copy this over your old version and
>>>>>> type:
>>>>>> >
>>>>>> >     vagrant provision
>>>>>> >
>>>>>> > Then follow the readme instructions.
>>>>>> > I am interested in your experience with this.
>>>>>> >
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Dr. Adina Crainiceanu
>>>>>> Associate Professor, Computer Science Department
>>>>>> United States Naval Academy
>>>>>> 410-293-6822
>>>>>> adina@usna.edu
>>>>>> http://www.usna.edu/Users/cs/adina/
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>>
>>>>> *Amila Wijayarathna*
>>>>> Undergraduate,
>>>>> Faculty of Information Technology,
>>>>> University of Moratuwa,
>>>>> Sri Lanka.
>>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>>
>>> *Amila Wijayarathna*
>>> Undergraduate,
>>> Faculty of Information Technology,
>>> University of Moratuwa,
>>> Sri Lanka.
>>>
>>
>>
>>
>> --
>>
>> *Amila Wijayarathna*
>> Undergraduate,
>> Faculty of Information Technology,
>> University of Moratuwa,
>> Sri Lanka.
>>
>
>


-- 

*Amila Wijayarathna*
Undergraduate,
Faculty of Information Technology,
University of Moratuwa,
Sri Lanka.

Re: Rya-54 vagrant cleanup #47

Posted by David Lotts <dl...@gmail.com>.
From your output [1], I suspect that it is this line in the vagrant file
that is failing:

 sudo -E add-apt-repository ppa:webupd8team/java

And it generates this error from your output:

==> default: Error reading
https://launchpad.net/api/1.0/~webupd8team/+archive/java: Service
Temporarily Unavailable

Perhaps the site was down?  The URL works for me now.  Try the command
above ( add-apt-repository ) from the prompt in your VM.

It may also be a proxy issue, described here :
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/516032

    export https_proxy=http://www.example.com:8000/

then do the command ( add-apt-repository ) above.

If you you think you have it, or just want to try again, do this command
from the host.  It will skip the vm creation. If it aborts again at the
same place, you may need to delete the line that you did yourself (
add-apt-repository ).

    vagrant provision

david.

On Tue, Jun 14, 2016 at 5:38 PM, Amila Wijayarathna <
amwijayarathna@gmail.com> wrote:

> Hi David,
>
> I got these windows as well,
>
> Thank you!
>
>
> On Wed, Jun 15, 2016 at 12:41 AM, Amila Wijayarathna <
> amwijayarathna@gmail.com> wrote:
>
>> Hi David,
>>
>> Thank you for your prompt response.
>> So I "up" the vagrant again in a non proxy internet connection and end up
>> with this [1]. It has less errors than the earlier one. and when I do
>> "vagrant ssh" i got the following,
>>
>> amila@amila-X550LD:~/Installs/ryaVagrant$   vagrant ssh
>> Welcome to Ubuntu 14.04.4 LTS (GNU/Linux 3.13.0-87-generic x86_64)
>>
>>  * Documentation:  https://help.ubuntu.com/
>>
>>   System information as of Tue Jun 14 17:03:04 UTC 2016
>>
>>   System load:  0.96              Processes:           110
>>   Usage of /:   3.5% of 39.34GB   Users logged in:     0
>>   Memory usage: 3%                IP address for eth0: 10.0.2.15
>>   Swap usage:   0%
>>
>>   Graph this data and manage this system at:
>>     https://landscape.canonical.com/
>>
>>   Get cloud support with Ubuntu Advantage Cloud Guest:
>>     http://www.ubuntu.com/business/services/cloud
>>
>> 0 packages can be updated.
>> 0 updates are security updates.
>>
>>
>> vagrant@rya-example-box:~$
>>
>> And after that I can run those two commands (ping google.com and wget
>> http://google.com/) without any error.
>> Is it ok? if it is I like to know how to proceed further.
>>
>> Thank you!
>>
>>
>> [1]
>> https://gist.github.com/AmilaWijayarathna/8a2a20e6a4a1b9b5449bad83f459762b
>>
>> On Tue, Jun 14, 2016 at 11:10 PM, David Lotts <dl...@gmail.com> wrote:
>>
>>> Wow, well documented attempt!  Thanks for the listings.
>>>
>>> So you brought "up" a default vagrant VM.
>>> All the messages from [3] are as I would expect, that is great.
>>>
>>> Then your copied the Rya Vagrantfile, and did a vagrant up, creating the
>>> output in [5].
>>> It downloaded the vm image from cloudera successfully, so we know your
>>> internet connection on the host is fine.
>>> But then when the guest VM attempts to update it's libraries, we start
>>> seeing all errors, starting with this one:
>>>
>>> ==> default: Failed to fetch
>>> http://archive.ubuntu.com/ubuntu/dists/trusty/InRelease
>>>
>>> So I think something is wrong with your network inside the VM.
>>> Run the command
>>>     vagrant ssh
>>> from it's install directory, then see if you can run these without error:
>>>     ping google.com
>>> and/or
>>>     wget http://google.com/
>>>         => Resolving google.com (google.com)... Connecting to google.com
>>> (google.com)
>>>
>>> I can't tell if your first VM [3] was able to connect, you might ssh to
>>> it, and then ping and wget to see if it also has network problems.
>>>
>>> If you start the Virtualbox app, you can modify the network setting for
>>> the box and see if you can get it working.  Maybe you can set a proxy as
>>> you mentioned.
>>>
>>> david.
>>>
>>>
>>> On Tue, Jun 14, 2016 at 12:36 PM, Amila Wijayarathna <
>>> amwijayarathna@gmail.com> wrote:
>>>
>>>> Hi david,
>>>> This is my first time, setting up a vagrant file.
>>>> I downloaded the vagrant from [1] and downloaded a virtual box from
>>>> [2].  As this is my first time i didn't know how to do it correctly. So i
>>>> installed the the vagrant and up it other location that there  was no any
>>>> Rya vagrant file. so i got this [3]. seems it set up successfully.
>>>>
>>>> After that I copied the vagrant file from [4] and made a Vagrantfile in
>>>> a local location. when i do vagrant up in that location i got this
>>>> [5]. it says something went wrong.
>>>> I don't know this because is my Internet connection, because it has
>>>> some proxy settings. I will look about it. Any idea about this is
>>>> appreciated.
>>>>
>>>> Thank you!
>>>>
>>>>
>>>> [1]  https://www.vagrantup.com/ <https://www.vagrantup.com/>
>>>> [2] https://www.virtualbox.org/wiki/Linux_Downloads
>>>> [3]
>>>> https://gist.github.com/AmilaWijayarathna/52aa5da9a9c6e952967b1db1b01a1701
>>>> [4]
>>>> https://github.com/DLotts/incubator-rya/blob/RYA-54_vagrant-cleanup-squ/extras/vagrantExample/src/main/vagrant/Vagrantfile
>>>> [5]
>>>> https://gist.github.com/AmilaWijayarathna/9dd9ce075d98524dad9a97eb1d521e99
>>>>
>>>> On Mon, Jun 13, 2016 at 11:22 PM, Adina Crainiceanu <ad...@usna.edu>
>>>> wrote:
>>>>
>>>>> David, I'm travelling until Thursday. I'll try it then if Amila does
>>>>> not do
>>>>> it earlier.
>>>>>
>>>>> Thanks,
>>>>> Adina
>>>>>
>>>>> On Mon, Jun 13, 2016 at 11:47 AM, David Lotts <dl...@gmail.com>
>>>>> wrote:
>>>>>
>>>>> > Adina, Amila, and everyone:
>>>>> >
>>>>> > Adina: Thanks for the great feedback!
>>>>> > I think I have resolved everything that you mention, and a few
>>>>> others.
>>>>> > Are you able to run it again?
>>>>> > I updated the readme.md also.
>>>>> >
>>>>> > It's in my Rya github branch "RYA-54_vagrant-cleanup-squ" :
>>>>> >
>>>>> >
>>>>> >
>>>>> https://github.com/DLotts/incubator-rya/blob/RYA-54_vagrant-cleanup-squ/extras/vagrantExample/src/main/vagrant
>>>>> >
>>>>> > Start-over instructions below.
>>>>> >
>>>>> > The pull request is here:
>>>>> https://github.com/apache/incubator-rya/pull/47
>>>>> > david.
>>>>> >
>>>>> >
>>>>> > On Tue, May 17, 2016 at 10:54 AM, David Lotts <dl...@gmail.com>
>>>>> wrote:
>>>>> > Amila,
>>>>> > I have re-worked the Vagrant Example.  There were some race
>>>>> conditions and
>>>>> > places where errors become lost or skipped over.
>>>>> > [...old link removed...]
>>>>> >
>>>>> > It uses the same instructions.
>>>>> > You can do the command:
>>>>> >
>>>>> >     vagrant destroy
>>>>> >
>>>>> > To remove your last attempt.  Then use the new file and the same
>>>>> readme to
>>>>> > start over.
>>>>> >
>>>>> > The new version is made to be re-run and possible fix errors from
>>>>> the last
>>>>> > attempt -- so you could just copy this over your old version and
>>>>> type:
>>>>> >
>>>>> >     vagrant provision
>>>>> >
>>>>> > Then follow the readme instructions.
>>>>> > I am interested in your experience with this.
>>>>> >
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Dr. Adina Crainiceanu
>>>>> Associate Professor, Computer Science Department
>>>>> United States Naval Academy
>>>>> 410-293-6822
>>>>> adina@usna.edu
>>>>> http://www.usna.edu/Users/cs/adina/
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> *Amila Wijayarathna*
>>>> Undergraduate,
>>>> Faculty of Information Technology,
>>>> University of Moratuwa,
>>>> Sri Lanka.
>>>>
>>>
>>>
>>
>>
>> --
>>
>> *Amila Wijayarathna*
>> Undergraduate,
>> Faculty of Information Technology,
>> University of Moratuwa,
>> Sri Lanka.
>>
>
>
>
> --
>
> *Amila Wijayarathna*
> Undergraduate,
> Faculty of Information Technology,
> University of Moratuwa,
> Sri Lanka.
>

Re: Rya-54 vagrant cleanup #47

Posted by Amila Wijayarathna <am...@gmail.com>.
Hi David,

I got these windows as well,

Thank you!


On Wed, Jun 15, 2016 at 12:41 AM, Amila Wijayarathna <
amwijayarathna@gmail.com> wrote:

> Hi David,
>
> Thank you for your prompt response.
> So I "up" the vagrant again in a non proxy internet connection and end up
> with this [1]. It has less errors than the earlier one. and when I do
> "vagrant ssh" i got the following,
>
> amila@amila-X550LD:~/Installs/ryaVagrant$   vagrant ssh
> Welcome to Ubuntu 14.04.4 LTS (GNU/Linux 3.13.0-87-generic x86_64)
>
>  * Documentation:  https://help.ubuntu.com/
>
>   System information as of Tue Jun 14 17:03:04 UTC 2016
>
>   System load:  0.96              Processes:           110
>   Usage of /:   3.5% of 39.34GB   Users logged in:     0
>   Memory usage: 3%                IP address for eth0: 10.0.2.15
>   Swap usage:   0%
>
>   Graph this data and manage this system at:
>     https://landscape.canonical.com/
>
>   Get cloud support with Ubuntu Advantage Cloud Guest:
>     http://www.ubuntu.com/business/services/cloud
>
> 0 packages can be updated.
> 0 updates are security updates.
>
>
> vagrant@rya-example-box:~$
>
> And after that I can run those two commands (ping google.com and wget
> http://google.com/) without any error.
> Is it ok? if it is I like to know how to proceed further.
>
> Thank you!
>
>
> [1]
> https://gist.github.com/AmilaWijayarathna/8a2a20e6a4a1b9b5449bad83f459762b
>
> On Tue, Jun 14, 2016 at 11:10 PM, David Lotts <dl...@gmail.com> wrote:
>
>> Wow, well documented attempt!  Thanks for the listings.
>>
>> So you brought "up" a default vagrant VM.
>> All the messages from [3] are as I would expect, that is great.
>>
>> Then your copied the Rya Vagrantfile, and did a vagrant up, creating the
>> output in [5].
>> It downloaded the vm image from cloudera successfully, so we know your
>> internet connection on the host is fine.
>> But then when the guest VM attempts to update it's libraries, we start
>> seeing all errors, starting with this one:
>>
>> ==> default: Failed to fetch
>> http://archive.ubuntu.com/ubuntu/dists/trusty/InRelease
>>
>> So I think something is wrong with your network inside the VM.
>> Run the command
>>     vagrant ssh
>> from it's install directory, then see if you can run these without error:
>>     ping google.com
>> and/or
>>     wget http://google.com/
>>         => Resolving google.com (google.com)... Connecting to google.com
>> (google.com)
>>
>> I can't tell if your first VM [3] was able to connect, you might ssh to
>> it, and then ping and wget to see if it also has network problems.
>>
>> If you start the Virtualbox app, you can modify the network setting for
>> the box and see if you can get it working.  Maybe you can set a proxy as
>> you mentioned.
>>
>> david.
>>
>>
>> On Tue, Jun 14, 2016 at 12:36 PM, Amila Wijayarathna <
>> amwijayarathna@gmail.com> wrote:
>>
>>> Hi david,
>>> This is my first time, setting up a vagrant file.
>>> I downloaded the vagrant from [1] and downloaded a virtual box from
>>> [2].  As this is my first time i didn't know how to do it correctly. So i
>>> installed the the vagrant and up it other location that there  was no any
>>> Rya vagrant file. so i got this [3]. seems it set up successfully.
>>>
>>> After that I copied the vagrant file from [4] and made a Vagrantfile in
>>> a local location. when i do vagrant up in that location i got this [5].
>>> it says something went wrong.
>>> I don't know this because is my Internet connection, because it has some
>>> proxy settings. I will look about it. Any idea about this is appreciated.
>>>
>>> Thank you!
>>>
>>>
>>> [1]  https://www.vagrantup.com/ <https://www.vagrantup.com/>
>>> [2] https://www.virtualbox.org/wiki/Linux_Downloads
>>> [3]
>>> https://gist.github.com/AmilaWijayarathna/52aa5da9a9c6e952967b1db1b01a1701
>>> [4]
>>> https://github.com/DLotts/incubator-rya/blob/RYA-54_vagrant-cleanup-squ/extras/vagrantExample/src/main/vagrant/Vagrantfile
>>> [5]
>>> https://gist.github.com/AmilaWijayarathna/9dd9ce075d98524dad9a97eb1d521e99
>>>
>>> On Mon, Jun 13, 2016 at 11:22 PM, Adina Crainiceanu <ad...@usna.edu>
>>> wrote:
>>>
>>>> David, I'm travelling until Thursday. I'll try it then if Amila does
>>>> not do
>>>> it earlier.
>>>>
>>>> Thanks,
>>>> Adina
>>>>
>>>> On Mon, Jun 13, 2016 at 11:47 AM, David Lotts <dl...@gmail.com> wrote:
>>>>
>>>> > Adina, Amila, and everyone:
>>>> >
>>>> > Adina: Thanks for the great feedback!
>>>> > I think I have resolved everything that you mention, and a few others.
>>>> > Are you able to run it again?
>>>> > I updated the readme.md also.
>>>> >
>>>> > It's in my Rya github branch "RYA-54_vagrant-cleanup-squ" :
>>>> >
>>>> >
>>>> >
>>>> https://github.com/DLotts/incubator-rya/blob/RYA-54_vagrant-cleanup-squ/extras/vagrantExample/src/main/vagrant
>>>> >
>>>> > Start-over instructions below.
>>>> >
>>>> > The pull request is here:
>>>> https://github.com/apache/incubator-rya/pull/47
>>>> > david.
>>>> >
>>>> >
>>>> > On Tue, May 17, 2016 at 10:54 AM, David Lotts <dl...@gmail.com>
>>>> wrote:
>>>> > Amila,
>>>> > I have re-worked the Vagrant Example.  There were some race
>>>> conditions and
>>>> > places where errors become lost or skipped over.
>>>> > [...old link removed...]
>>>> >
>>>> > It uses the same instructions.
>>>> > You can do the command:
>>>> >
>>>> >     vagrant destroy
>>>> >
>>>> > To remove your last attempt.  Then use the new file and the same
>>>> readme to
>>>> > start over.
>>>> >
>>>> > The new version is made to be re-run and possible fix errors from the
>>>> last
>>>> > attempt -- so you could just copy this over your old version and type:
>>>> >
>>>> >     vagrant provision
>>>> >
>>>> > Then follow the readme instructions.
>>>> > I am interested in your experience with this.
>>>> >
>>>>
>>>>
>>>>
>>>> --
>>>> Dr. Adina Crainiceanu
>>>> Associate Professor, Computer Science Department
>>>> United States Naval Academy
>>>> 410-293-6822
>>>> adina@usna.edu
>>>> http://www.usna.edu/Users/cs/adina/
>>>>
>>>
>>>
>>>
>>> --
>>>
>>> *Amila Wijayarathna*
>>> Undergraduate,
>>> Faculty of Information Technology,
>>> University of Moratuwa,
>>> Sri Lanka.
>>>
>>
>>
>
>
> --
>
> *Amila Wijayarathna*
> Undergraduate,
> Faculty of Information Technology,
> University of Moratuwa,
> Sri Lanka.
>



-- 

*Amila Wijayarathna*
Undergraduate,
Faculty of Information Technology,
University of Moratuwa,
Sri Lanka.

Re: Rya-54 vagrant cleanup #47

Posted by Amila Wijayarathna <am...@gmail.com>.
Hi David,

Thank you for your prompt response.
So I "up" the vagrant again in a non proxy internet connection and end up
with this [1]. It has less errors than the earlier one. and when I do
"vagrant ssh" i got the following,

amila@amila-X550LD:~/Installs/ryaVagrant$   vagrant ssh
Welcome to Ubuntu 14.04.4 LTS (GNU/Linux 3.13.0-87-generic x86_64)

 * Documentation:  https://help.ubuntu.com/

  System information as of Tue Jun 14 17:03:04 UTC 2016

  System load:  0.96              Processes:           110
  Usage of /:   3.5% of 39.34GB   Users logged in:     0
  Memory usage: 3%                IP address for eth0: 10.0.2.15
  Swap usage:   0%

  Graph this data and manage this system at:
    https://landscape.canonical.com/

  Get cloud support with Ubuntu Advantage Cloud Guest:
    http://www.ubuntu.com/business/services/cloud

0 packages can be updated.
0 updates are security updates.


vagrant@rya-example-box:~$

And after that I can run those two commands (ping google.com and wget
http://google.com/) without any error.
Is it ok? if it is I like to know how to proceed further.

Thank you!


[1]
https://gist.github.com/AmilaWijayarathna/8a2a20e6a4a1b9b5449bad83f459762b

On Tue, Jun 14, 2016 at 11:10 PM, David Lotts <dl...@gmail.com> wrote:

> Wow, well documented attempt!  Thanks for the listings.
>
> So you brought "up" a default vagrant VM.
> All the messages from [3] are as I would expect, that is great.
>
> Then your copied the Rya Vagrantfile, and did a vagrant up, creating the
> output in [5].
> It downloaded the vm image from cloudera successfully, so we know your
> internet connection on the host is fine.
> But then when the guest VM attempts to update it's libraries, we start
> seeing all errors, starting with this one:
>
> ==> default: Failed to fetch
> http://archive.ubuntu.com/ubuntu/dists/trusty/InRelease
>
> So I think something is wrong with your network inside the VM.
> Run the command
>     vagrant ssh
> from it's install directory, then see if you can run these without error:
>     ping google.com
> and/or
>     wget http://google.com/
>         => Resolving google.com (google.com)... Connecting to google.com (
> google.com)
>
> I can't tell if your first VM [3] was able to connect, you might ssh to
> it, and then ping and wget to see if it also has network problems.
>
> If you start the Virtualbox app, you can modify the network setting for
> the box and see if you can get it working.  Maybe you can set a proxy as
> you mentioned.
>
> david.
>
>
> On Tue, Jun 14, 2016 at 12:36 PM, Amila Wijayarathna <
> amwijayarathna@gmail.com> wrote:
>
>> Hi david,
>> This is my first time, setting up a vagrant file.
>> I downloaded the vagrant from [1] and downloaded a virtual box from [2].
>> As this is my first time i didn't know how to do it correctly. So i
>> installed the the vagrant and up it other location that there  was no any
>> Rya vagrant file. so i got this [3]. seems it set up successfully.
>>
>> After that I copied the vagrant file from [4] and made a Vagrantfile in a
>> local location. when i do vagrant up in that location i got this [5]. it
>> says something went wrong.
>> I don't know this because is my Internet connection, because it has some
>> proxy settings. I will look about it. Any idea about this is appreciated.
>>
>> Thank you!
>>
>>
>> [1]  https://www.vagrantup.com/ <https://www.vagrantup.com/>
>> [2] https://www.virtualbox.org/wiki/Linux_Downloads
>> [3]
>> https://gist.github.com/AmilaWijayarathna/52aa5da9a9c6e952967b1db1b01a1701
>> [4]
>> https://github.com/DLotts/incubator-rya/blob/RYA-54_vagrant-cleanup-squ/extras/vagrantExample/src/main/vagrant/Vagrantfile
>> [5]
>> https://gist.github.com/AmilaWijayarathna/9dd9ce075d98524dad9a97eb1d521e99
>>
>> On Mon, Jun 13, 2016 at 11:22 PM, Adina Crainiceanu <ad...@usna.edu>
>> wrote:
>>
>>> David, I'm travelling until Thursday. I'll try it then if Amila does not
>>> do
>>> it earlier.
>>>
>>> Thanks,
>>> Adina
>>>
>>> On Mon, Jun 13, 2016 at 11:47 AM, David Lotts <dl...@gmail.com> wrote:
>>>
>>> > Adina, Amila, and everyone:
>>> >
>>> > Adina: Thanks for the great feedback!
>>> > I think I have resolved everything that you mention, and a few others.
>>> > Are you able to run it again?
>>> > I updated the readme.md also.
>>> >
>>> > It's in my Rya github branch "RYA-54_vagrant-cleanup-squ" :
>>> >
>>> >
>>> >
>>> https://github.com/DLotts/incubator-rya/blob/RYA-54_vagrant-cleanup-squ/extras/vagrantExample/src/main/vagrant
>>> >
>>> > Start-over instructions below.
>>> >
>>> > The pull request is here:
>>> https://github.com/apache/incubator-rya/pull/47
>>> > david.
>>> >
>>> >
>>> > On Tue, May 17, 2016 at 10:54 AM, David Lotts <dl...@gmail.com>
>>> wrote:
>>> > Amila,
>>> > I have re-worked the Vagrant Example.  There were some race conditions
>>> and
>>> > places where errors become lost or skipped over.
>>> > [...old link removed...]
>>> >
>>> > It uses the same instructions.
>>> > You can do the command:
>>> >
>>> >     vagrant destroy
>>> >
>>> > To remove your last attempt.  Then use the new file and the same
>>> readme to
>>> > start over.
>>> >
>>> > The new version is made to be re-run and possible fix errors from the
>>> last
>>> > attempt -- so you could just copy this over your old version and type:
>>> >
>>> >     vagrant provision
>>> >
>>> > Then follow the readme instructions.
>>> > I am interested in your experience with this.
>>> >
>>>
>>>
>>>
>>> --
>>> Dr. Adina Crainiceanu
>>> Associate Professor, Computer Science Department
>>> United States Naval Academy
>>> 410-293-6822
>>> adina@usna.edu
>>> http://www.usna.edu/Users/cs/adina/
>>>
>>
>>
>>
>> --
>>
>> *Amila Wijayarathna*
>> Undergraduate,
>> Faculty of Information Technology,
>> University of Moratuwa,
>> Sri Lanka.
>>
>
>


-- 

*Amila Wijayarathna*
Undergraduate,
Faculty of Information Technology,
University of Moratuwa,
Sri Lanka.

Re: Rya-54 vagrant cleanup #47

Posted by David Lotts <dl...@gmail.com>.
Wow, well documented attempt!  Thanks for the listings.

So you brought "up" a default vagrant VM.
All the messages from [3] are as I would expect, that is great.

Then your copied the Rya Vagrantfile, and did a vagrant up, creating the
output in [5].
It downloaded the vm image from cloudera successfully, so we know your
internet connection on the host is fine.
But then when the guest VM attempts to update it's libraries, we start
seeing all errors, starting with this one:

==> default: Failed to fetch
http://archive.ubuntu.com/ubuntu/dists/trusty/InRelease

So I think something is wrong with your network inside the VM.
Run the command
    vagrant ssh
from it's install directory, then see if you can run these without error:
    ping google.com
and/or
    wget http://google.com/
        => Resolving google.com (google.com)... Connecting to google.com (
google.com)

I can't tell if your first VM [3] was able to connect, you might ssh to it,
and then ping and wget to see if it also has network problems.

If you start the Virtualbox app, you can modify the network setting for the
box and see if you can get it working.  Maybe you can set a proxy as you
mentioned.

david.


On Tue, Jun 14, 2016 at 12:36 PM, Amila Wijayarathna <
amwijayarathna@gmail.com> wrote:

> Hi david,
> This is my first time, setting up a vagrant file.
> I downloaded the vagrant from [1] and downloaded a virtual box from [2].
> As this is my first time i didn't know how to do it correctly. So i
> installed the the vagrant and up it other location that there  was no any
> Rya vagrant file. so i got this [3]. seems it set up successfully.
>
> After that I copied the vagrant file from [4] and made a Vagrantfile in a
> local location. when i do vagrant up in that location i got this [5]. it
> says something went wrong.
> I don't know this because is my Internet connection, because it has some
> proxy settings. I will look about it. Any idea about this is appreciated.
>
> Thank you!
>
>
> [1]  https://www.vagrantup.com/ <https://www.vagrantup.com/>
> [2] https://www.virtualbox.org/wiki/Linux_Downloads
> [3]
> https://gist.github.com/AmilaWijayarathna/52aa5da9a9c6e952967b1db1b01a1701
> [4]
> https://github.com/DLotts/incubator-rya/blob/RYA-54_vagrant-cleanup-squ/extras/vagrantExample/src/main/vagrant/Vagrantfile
> [5]
> https://gist.github.com/AmilaWijayarathna/9dd9ce075d98524dad9a97eb1d521e99
>
> On Mon, Jun 13, 2016 at 11:22 PM, Adina Crainiceanu <ad...@usna.edu>
> wrote:
>
>> David, I'm travelling until Thursday. I'll try it then if Amila does not
>> do
>> it earlier.
>>
>> Thanks,
>> Adina
>>
>> On Mon, Jun 13, 2016 at 11:47 AM, David Lotts <dl...@gmail.com> wrote:
>>
>> > Adina, Amila, and everyone:
>> >
>> > Adina: Thanks for the great feedback!
>> > I think I have resolved everything that you mention, and a few others.
>> > Are you able to run it again?
>> > I updated the readme.md also.
>> >
>> > It's in my Rya github branch "RYA-54_vagrant-cleanup-squ" :
>> >
>> >
>> >
>> https://github.com/DLotts/incubator-rya/blob/RYA-54_vagrant-cleanup-squ/extras/vagrantExample/src/main/vagrant
>> >
>> > Start-over instructions below.
>> >
>> > The pull request is here:
>> https://github.com/apache/incubator-rya/pull/47
>> > david.
>> >
>> >
>> > On Tue, May 17, 2016 at 10:54 AM, David Lotts <dl...@gmail.com> wrote:
>> > Amila,
>> > I have re-worked the Vagrant Example.  There were some race conditions
>> and
>> > places where errors become lost or skipped over.
>> > [...old link removed...]
>> >
>> > It uses the same instructions.
>> > You can do the command:
>> >
>> >     vagrant destroy
>> >
>> > To remove your last attempt.  Then use the new file and the same readme
>> to
>> > start over.
>> >
>> > The new version is made to be re-run and possible fix errors from the
>> last
>> > attempt -- so you could just copy this over your old version and type:
>> >
>> >     vagrant provision
>> >
>> > Then follow the readme instructions.
>> > I am interested in your experience with this.
>> >
>>
>>
>>
>> --
>> Dr. Adina Crainiceanu
>> Associate Professor, Computer Science Department
>> United States Naval Academy
>> 410-293-6822
>> adina@usna.edu
>> http://www.usna.edu/Users/cs/adina/
>>
>
>
>
> --
>
> *Amila Wijayarathna*
> Undergraduate,
> Faculty of Information Technology,
> University of Moratuwa,
> Sri Lanka.
>

Re: Rya-54 vagrant cleanup #47

Posted by Amila Wijayarathna <am...@gmail.com>.
Hi david,
This is my first time, setting up a vagrant file.
I downloaded the vagrant from [1] and downloaded a virtual box from [2].
As this is my first time i didn't know how to do it correctly. So i
installed the the vagrant and up it other location that there  was no any
Rya vagrant file. so i got this [3]. seems it set up successfully.

After that I copied the vagrant file from [4] and made a Vagrantfile in a
local location. when i do vagrant up in that location i got this [5]. it
says something went wrong.
I don't know this because is my Internet connection, because it has some
proxy settings. I will look about it. Any idea about this is appreciated.

Thank you!


[1]  https://www.vagrantup.com/ <https://www.vagrantup.com/>
[2] https://www.virtualbox.org/wiki/Linux_Downloads
[3]
https://gist.github.com/AmilaWijayarathna/52aa5da9a9c6e952967b1db1b01a1701
[4]
https://github.com/DLotts/incubator-rya/blob/RYA-54_vagrant-cleanup-squ/extras/vagrantExample/src/main/vagrant/Vagrantfile
[5]
https://gist.github.com/AmilaWijayarathna/9dd9ce075d98524dad9a97eb1d521e99

On Mon, Jun 13, 2016 at 11:22 PM, Adina Crainiceanu <ad...@usna.edu> wrote:

> David, I'm travelling until Thursday. I'll try it then if Amila does not do
> it earlier.
>
> Thanks,
> Adina
>
> On Mon, Jun 13, 2016 at 11:47 AM, David Lotts <dl...@gmail.com> wrote:
>
> > Adina, Amila, and everyone:
> >
> > Adina: Thanks for the great feedback!
> > I think I have resolved everything that you mention, and a few others.
> > Are you able to run it again?
> > I updated the readme.md also.
> >
> > It's in my Rya github branch "RYA-54_vagrant-cleanup-squ" :
> >
> >
> >
> https://github.com/DLotts/incubator-rya/blob/RYA-54_vagrant-cleanup-squ/extras/vagrantExample/src/main/vagrant
> >
> > Start-over instructions below.
> >
> > The pull request is here:
> https://github.com/apache/incubator-rya/pull/47
> > david.
> >
> >
> > On Tue, May 17, 2016 at 10:54 AM, David Lotts <dl...@gmail.com> wrote:
> > Amila,
> > I have re-worked the Vagrant Example.  There were some race conditions
> and
> > places where errors become lost or skipped over.
> > [...old link removed...]
> >
> > It uses the same instructions.
> > You can do the command:
> >
> >     vagrant destroy
> >
> > To remove your last attempt.  Then use the new file and the same readme
> to
> > start over.
> >
> > The new version is made to be re-run and possible fix errors from the
> last
> > attempt -- so you could just copy this over your old version and type:
> >
> >     vagrant provision
> >
> > Then follow the readme instructions.
> > I am interested in your experience with this.
> >
>
>
>
> --
> Dr. Adina Crainiceanu
> Associate Professor, Computer Science Department
> United States Naval Academy
> 410-293-6822
> adina@usna.edu
> http://www.usna.edu/Users/cs/adina/
>



-- 

*Amila Wijayarathna*
Undergraduate,
Faculty of Information Technology,
University of Moratuwa,
Sri Lanka.

Re: Rya-54 vagrant cleanup #47

Posted by Adina Crainiceanu <ad...@usna.edu>.
David, I'm travelling until Thursday. I'll try it then if Amila does not do
it earlier.

Thanks,
Adina

On Mon, Jun 13, 2016 at 11:47 AM, David Lotts <dl...@gmail.com> wrote:

> Adina, Amila, and everyone:
>
> Adina: Thanks for the great feedback!
> I think I have resolved everything that you mention, and a few others.
> Are you able to run it again?
> I updated the readme.md also.
>
> It's in my Rya github branch "RYA-54_vagrant-cleanup-squ" :
>
>
> https://github.com/DLotts/incubator-rya/blob/RYA-54_vagrant-cleanup-squ/extras/vagrantExample/src/main/vagrant
>
> Start-over instructions below.
>
> The pull request is here:  https://github.com/apache/incubator-rya/pull/47
> david.
>
>
> On Tue, May 17, 2016 at 10:54 AM, David Lotts <dl...@gmail.com> wrote:
> Amila,
> I have re-worked the Vagrant Example.  There were some race conditions and
> places where errors become lost or skipped over.
> [...old link removed...]
>
> It uses the same instructions.
> You can do the command:
>
>     vagrant destroy
>
> To remove your last attempt.  Then use the new file and the same readme to
> start over.
>
> The new version is made to be re-run and possible fix errors from the last
> attempt -- so you could just copy this over your old version and type:
>
>     vagrant provision
>
> Then follow the readme instructions.
> I am interested in your experience with this.
>



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