Re: Apache Drill integration with Jupyter - “Exception: Status Code: 500 - Error”

2019-08-26 Thread Naresh Bhat
Hi All,

Note that I am following the link https://mapr.com/blog/drilling-jupyter/  and
we are using the register_magics

Thanks and Regards
Naresh Bhat



On Tue, 27 Aug 2019 at 08:56, Naresh Bhat  wrote:

> Hi All,
>
> We are trying to integrate Apache Jupyter Notebook with Apache Drill. When
> we select Python3 tab in web browser and execute “%drill connect” we will
> see the following exception error
>
> “Exception: Status Code:500 - Error”
>
> Can some body please hint me what could be the issue ?
>
> I will appreciate your help.
> Logs:
>
> %drill connect
> …
> …
> Connecting to Drill URL: http://:8047
>
> Please enter the password you wish to connect with:
> Drill Connect Password: 
> …
> …
> Exception Traceback (most recent call last)
> in
> > 1 get_ipython().run_line_magic(‘drill’, ‘connect’)
> …
> …
>
> ~/jupyter/jupyter-env/lib/python3.5/site-packages/drill_core/drill_base.py
> in authDrill(self)
> 310 result = 0
> 311 else:
> –> 312 raise Exception(“Status Code: %s - Error” % r.status_code)
> 313 return result
> 314
>
> Exception: Status Code: 500 - Error
>


Apache Drill integration with Jupyter - “Exception: Status Code: 500 - Error”

2019-08-26 Thread Naresh Bhat
Hi All,

We are trying to integrate Apache Jupyter Notebook with Apache Drill. When
we select Python3 tab in web browser and execute “%drill connect” we will
see the following exception error

“Exception: Status Code:500 - Error”

Can some body please hint me what could be the issue ?

I will appreciate your help.
Logs:

%drill connect
…
…
Connecting to Drill URL: http://:8047

Please enter the password you wish to connect with:
Drill Connect Password: 
…
…
Exception Traceback (most recent call last)
in
> 1 get_ipython().run_line_magic(‘drill’, ‘connect’)
…
…

~/jupyter/jupyter-env/lib/python3.5/site-packages/drill_core/drill_base.py
in authDrill(self)
310 result = 0
311 else:
–> 312 raise Exception(“Status Code: %s - Error” % r.status_code)
313 return result
314

Exception: Status Code: 500 - Error