You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by anish singh <an...@gmail.com> on 2016/05/19 12:48:46 UTC
Error in Loading Data
Hello,
To load data from the shell interpreter inside zeppelin, the following
command was used :
wget -O ~/'Zeppelin Data'/Growth/GDPperCapita.json
http://api.worldbank.org/countries/indicators/NY.GDP.PCAP.CD?per_page=100&date=2000:2016&format=json
Zeppelin does not load the data correctly, the following problems are
encountered:
1. As indicated in the command itself, the data format in the query url is
json however the data that is found in the file GDPperCapita.json is of xml
format.
2. Complete data is not loaded, only some part is loaded and a lot of data
is repeated in the file.
The same command works perfectly fine when used in the bash shell. Please
provide some hint in how to solve this problem.
Thanks,
Anish.
Re: Error in Loading Data
Posted by anish singh <an...@gmail.com>.
Hello,
thanks for the advice, it worked.
Anish.
On Sat, May 21, 2016 at 1:28 AM, Felix Cheung <fe...@hotmail.com>
wrote:
> Try putting the http url in double quote "?
>
>
>
>
>
>
> On Thu, May 19, 2016 at 5:48 AM -0700, "anish singh" <an...@gmail.com>
> wrote:
>
>
>
>
>
> Hello,
>
> To load data from the shell interpreter inside zeppelin, the following
> command was used :
>
> wget -O ~/'Zeppelin Data'/Growth/GDPperCapita.json
>
> http://api.worldbank.org/countries/indicators/NY.GDP.PCAP.CD?per_page=100&date=2000:2016&format=json
>
> Zeppelin does not load the data correctly, the following problems are
> encountered:
>
> 1. As indicated in the command itself, the data format in the query url is
> json however the data that is found in the file GDPperCapita.json is of xml
> format.
>
> 2. Complete data is not loaded, only some part is loaded and a lot of data
> is repeated in the file.
>
> The same command works perfectly fine when used in the bash shell. Please
> provide some hint in how to solve this problem.
>
> Thanks,
> Anish.
>
Re: Error in Loading Data
Posted by Felix Cheung <fe...@hotmail.com>.
Try putting the http url in double quote "?
On Thu, May 19, 2016 at 5:48 AM -0700, "anish singh" <an...@gmail.com> wrote:
Hello,
To load data from the shell interpreter inside zeppelin, the following
command was used :
wget -O ~/'Zeppelin Data'/Growth/GDPperCapita.json
http://api.worldbank.org/countries/indicators/NY.GDP.PCAP.CD?per_page=100&date=2000:2016&format=json
Zeppelin does not load the data correctly, the following problems are
encountered:
1. As indicated in the command itself, the data format in the query url is
json however the data that is found in the file GDPperCapita.json is of xml
format.
2. Complete data is not loaded, only some part is loaded and a lot of data
is repeated in the file.
The same command works perfectly fine when used in the bash shell. Please
provide some hint in how to solve this problem.
Thanks,
Anish.