predictionio-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marius Rabenarivo <mariusrabenar...@gmail.com>
Subject Re: Need Help Building
Date Sun, 26 Mar 2017 18:10:06 GMT
Why you are using sudo?

Did You install pio with sudo?

2017-03-26 22:06 GMT+04:00 Vaghawan Ojha <vaghawan781@gmail.com>:

> Hi,
>
> It too seems to be caused by the storage. When I'm
> in www/cd/apache-predictionio-0.10.0-incubating/$
>
> sudo PredictionIO-0.10.0-incubating/bin/pio status
>
>  is working fine, but when I do just pio status it shows the error
> something like this:
> [INFO] [Storage$] Verifying Model Data Backend (Source: LOCALFS)...
> [ERROR] [Storage$] Error initializing storage client for source LOCALFS
>
> How can I solve the error I can't do sudo PredictionIO-0.10.0-incubating/bin/pio
> train, because I would be in another dir www/cd/apache-
> predictionio-0.10.0-incubating/MyRecommendation$
>
> How could I solve this, this seems to be the problem of not having sodoers
> for pio command.
>
> On Sun, Mar 26, 2017 at 11:22 PM, Vaghawan Ojha <vaghawan781@gmail.com>
> wrote:
>
>> Hi,
>> Thanks but the error was because I was not inside the template dir while
>> running pio build. It builded now successfully, but it seems in every step
>> there is some crazy errors awaiting for me. Now it actually fails at
>> training. Can you suggest me anything from the train log?
>> I'm sorry but they are really hard to grab unless I ask for help.
>>
>> Thank you very much
>>
>> On Sun, Mar 26, 2017 at 10:00 PM, Marius Rabenarivo <
>> mariusrabenarivo@gmail.com> wrote:
>>
>>> Hi,
>>>
>>> The error is :
>>>
>>> [ERROR] [Storage$] Error initializing storage client for source PGSQL
>>>
>>> I think you need to change it to HBASE if you want to use HBase
>>>
>>> PIO_STORAGE_REPOSITORIES_EVENTDATA_SOURCE=PGSQL
>>> ->
>>> PIO_STORAGE_REPOSITORIES_EVENTDATA_SOURCE=HBASE
>>>
>>> in your pio-env.sh
>>>
>>> And start HBase before if not using the pio-start-all script.
>>>
>>> If you want to use PostreSQL pio-start-all attempt to start it too.
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> 2017-03-26 19:29 GMT+04:00 Vaghawan Ojha <vaghawan781@gmail.com>:
>>>
>>>> I followed the procedure of manual install, everything was fine until I
>>>> stumbled into the pio build.
>>>>
>>>> I've a directory something like this /abc/pio0.0.10/pio and inside that
>>>> another dir pio, in total it would be like :
>>>> /abc/pio0.0.10/pio /
>>>>
>>>> where do I actually run build? inside /abc/pio0.0.10 or
>>>> /abc/pio0.0.10/pio / ?
>>>>
>>>> I don't know but I get some weird errors which I can't properly
>>>> diagnose. I"ve attached my log file here. I've followed to load the engine
>>>> template. here http://predictionio.incubator.apache.org/templates/reco
>>>> mmendation/quickstart/
>>>>
>>>>
>>>>
>>>
>>
>

Mime
View raw message