Hi Madhuka,

I could successfully build the zeppelin using cygwin.

However when I'm trying to run 'zeppelin-daemon.sh start' I get following
error

$ ./zeppelin-daemon.sh start
./zeppelin-daemon.sh: line 23: $'\r': command not found
./zeppelin-daemon.sh: line 25: $'\r': command not found
./zeppelin-daemon.sh: line 83: syntax error near unexpected token `$'{\r''
'/zeppelin-daemon.sh: line 83: `function initialize_default_directories() {

I tried replacing the \r with \n. But not luck. I eventually get error
saying file ends unexpectedly.

Any pointer how to work around this issue ?

Regards,
Sourav

On Thu, Sep 17, 2015 at 10:51 PM, madhuka udantha <madhukaudan...@gmail.com>
wrote:

> If cygwin contain all modules. Build zeppelin is not hard. Try that way.
> I did not face patch issue when I build it in windows.
>
> When you run zeppelin in windows you will come across such issue as it is
> not tested in windows. To some level we can try to fix them
>
> (there is some issue in new line charter)
>
> On Fri, Sep 18, 2015 at 10:29 AM, Sourav Mazumder <
> sourav.mazumde...@gmail.com> wrote:
>
>> Hi Madhuka,
>>
>> Thanks for your response.
>>
>> I tried out changing the class path and other things in the shell
>> scripts. I reached to the level where I can run the basic 'java' command to
>> start teh Zeppelin process from standard windows command prompt.
>>
>> I tried the command below from Windows command prompt -
>>
>> nice -n 0 java -Dfile.encoding=UTF-8 -Xmx1024m -XX:MaxPermSize=512m
>> -Dzeppelin.log.file=C:\zeppelin-0.6.0\zeppelin-0.6.0\logs\zeppelin--ADMINIB-EB9V93I.log
>> -cp C:\zeppelin-0.6.0\zeppelin-0.6.0\lib\*
>> org.apache.zeppelin.server.ZeppelinServer
>>
>> And got the following error which looks to be the problem at the Java
>> source code level. The source code is not doing proper parsing of the
>> Windows path like *path*.replaceAll("\\", "/").
>>
>>
>>
>> Caused by: java.net.URISyntaxException: Illegal character in opaque part
>> at inde
>> x 2: C:\zeppelin-0.6.0\zeppelin-0.6.0\..\notebook
>>         at java.net.URI$Parser.fail(Unknown Source)
>>         at java.net.URI$Parser.checkChars(Unknown Source)
>>         at java.net.URI$Parser.parse(Unknown Source)
>>         at java.net.URI.<init>(Unknown Source)
>>         at
>> org.apache.zeppelin.notebook.repo.VFSNotebookRepo.<init>(VFSNotebookR
>> epo.java:71)
>>         ... 28 more
>>
>>
>> Not sure whether this source code level problem will get solved or not if
>> I created a build using cygwin.
>>
>> Regards,
>> Sourav
>>
>> On Thu, Sep 17, 2015 at 9:40 PM, madhuka udantha <
>> madhukaudan...@gmail.com> wrote:
>>
>>> Hi, Sourav
>>>
>>> On Fri, Sep 18, 2015 at 9:04 AM, Sourav Mazumder <
>>> sourav.mazumde...@gmail.com> wrote:
>>>
>>>> Hi Alexander,
>>>>
>>>> Thanks for your response.
>>>>
>>>> Is the only way to do this is to first build the project in Windows ?
>>>>
>>> Since there are some modules to be install in Cygwin (compatible
>>> versions) those can be found when you building project in windows.
>>>
>>>
>>>> I have a build on RHEL. Can't I reuse the same on Cygwin/Git Bash with
>>>> changes in ClassPath etc. ?
>>>>
>>> Theoretically Yes, But I did not try out.There will be few thing to
>>> check rather ClassPath.
>>> such as:
>>>
>>>
>>>    - Cygwin need modules so those must to be install in Cygwin before
>>>    you run it. Those modules can be found when you are building project from
>>>    source.
>>>    - Windows new line issue (/r/n)
>>>
>>> You can be face some issue regard windows since zeppelin is not tested
>>> in windows still.
>>>
>>> Thanks
>>>
>>>
>>>> Regards,
>>>> Sourav
>>>>
>>>> On Thu, Sep 17, 2015 at 8:19 PM, Alexander Bezzubov <
>>>> abezzu...@nflabs.com> wrote:
>>>>
>>>>> Hi
>>>>>
>>>>> thank you for your interest in Zeppelin project!
>>>>>
>>>>> Sure, Zeppelin is a Java applicatoin, so you can run\build it on
>>>>> windows i.e like this
>>>>> http://madhukaudantha.blogspot.kr/2015/04/building-zeppelin-in-windows-8.html
>>>>>
>>>>>
>>>>>
>>>>> On Fri, Sep 18, 2015 at 9:08 AM, Sourav Mazumder <
>>>>> sourav.mazumde...@gmail.com> wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> Is there any plan to have a version ready for Windows so that people
>>>>>> running standalone spark on Windows can use the same ?
>>>>>>
>>>>>> Regards,
>>>>>> Sourav
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> --
>>>>> Kind regards,
>>>>> Alexander.
>>>>>
>>>>>
>>>>
>>>
>>>
>>> --
>>> Cheers,
>>> Madhuka Udantha
>>> http://madhukaudantha.blogspot.com
>>>
>>
>>
>
>
> --
> Cheers,
> Madhuka Udantha
> http://madhukaudantha.blogspot.com
>

Reply via email to