Yes I installed pio with sudo. Was that the problem all the way?

On Sun, Mar 26, 2017 at 11:55 PM, Marius Rabenarivo <
[email protected]> wrote:

> Why you are using sudo?
>
> Did You install pio with sudo?
>
> 2017-03-26 22:06 GMT+04:00 Vaghawan Ojha <[email protected]>:
>
>> 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 <[email protected]>
>> 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 <
>>> [email protected]> 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 <[email protected]>:
>>>>
>>>>> 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/
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>
>

Reply via email to