Seems like the command line arguments are not getting passed in correctly.
Can you try putting the arguments to -u in quotes?
sqlline -u "jdbc:drill:zk=xx.xx.xx.x:5181,xx.xx.xx.x:5181,xx.xx.xx.x:5181"
Also make sure you're not picking up a different script called sqlline.

On Wed, May 9, 2018 at 8:52 PM, Divya Gehlot <[email protected]>
wrote:

> Hi,
> I am trying to access Drill through Sqlline ,I am getting below error :
>
> [mapr@usazprdmapr-dn1 bin]$ sqlline –u
> > jdbc:drill:zk=xx.xx.xx.x:5181,xx.xx.xx.x:5181,xx.xx.xx.x:5181
> > OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=512M;
> > support was removed in 8.0
> > –u (No such file or directory)
> > jdbc:drill:zk=xx.xx.xx.x:5181,xx.xx.xx.x:5181,xx.xx.xx.x:5181 (No such
> > file or directory)
> > apache drill 1.10.0
> > "a drill is a terrible thing to waste"
> > sqlline> show datatables;
> > No current connection
> > sqlline> select * from sys.version ;
> > No current connection
>
>
> Appreciate the help !
> Thanks,
> Divya
>

Reply via email to