Where would I set JAVA_OPTS is it in pio-env.sh?

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

> You have do add pass-through parameters to the pio train command
>
> pio train -- --executor-memory 4g --driver-memory 4g
>
> and set JAVA_OPTS="Xmx4g" environment variable
>
> 2017-03-26 21:37 GMT+04:00 Vaghawan Ojha <[email protected]>:
>
>> 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