Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Drill >> mail # dev >> RE: [OS: Windows] Could not find or load main class sqlline.SqlLine


Copy link to this message
-
RE: [OS: Windows] Could not find or load main class sqlline.SqlLine
Hello Team,
 
I resolved the below error by reducing the heap memory.  I am not getting the following error?
 
D:\workspace\incubator-drill>java -Xmx1G -Dlogback.configurationFile=.\sqlparser\src\test\resources\logback.xml -cp contrib\sqlline\target\drill-sqlline-1.0.0-m2-incubating-SNAPSHOT.jar sqlline.SqlLine --verbose=true "$@"
Error: Could not find or load main class sqlline.SqlLine

 
I am not able to identify what I am doing wrong.  As per the unix script, an sqlline jar is supposed to be available in incubator-drill folder but mine doesn't have it.  Did I not checkout the folder correctly or did I miss a compilation step?
 
Regards,
Ravi
 
> From: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: [OS: Windows] Error initializing VM due to lack of space for object heap
> Date: Thu, 26 Dec 2013 18:54:40 +0530
>
>
>
>
> Hello team,
>  
> I am getting the following error when trying to execute sqlline.  This is my first attempt.  Would you please let me know how much memory is required by the VM for Object Heap.  Would you please let me know if you have found the optimium JVM settings for Apache Drill?
>  
> D:\workspace\incubator-drill>java -Xmx2G -Dlogback.configurationFile=.\sqlparser\src\test\resources\logback.xml -cp contrib\sqlline\target\dependency sqlline.Sq
> lLine --verbose=true "$@"
> Error occurred during initialization of VM
> Could not reserve enough space for object heap
> Error: Could not create the Java Virtual Machine.
> Error: A fatal exception has occurred. Program will exit.
>  
> Regards,
> Ravi
>  
> From: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: Challenge in creating of sqlline.bat due to windows limitation
> Date: Sun, 22 Dec 2013 22:17:41 +0530
>
>
>
>
> Hello all,
> Please find the WIP windows batch program.  This works only for 86 file names in .classpath (or 8138 characters long).  But the working version of .classpath has 131 filenames spanning 12,958 characters. The article http://support.microsoft.com/kb/830473 seem to support the variable length limitation - official limt is 8191.
> One possible option is to collate all the required jar files into a common folder so that we can work around the variable value limitation in Windows platform.  Are there any other suggestion from the team? Regards,Ravi
>
> > Date: Sun, 22 Dec 2013 11:07:50 +0000
> > From: [EMAIL PROTECTED]
> > To: [EMAIL PROTECTED]
> > Subject: [jira] [Created] (DRILL-338) sqlline script not available for windows OS
> >
> > Ravisankar Sivasubramaniam created DRILL-338:
> > ------------------------------------------------
> >
> >              Summary: sqlline script not available for windows OS
> >                  Key: DRILL-338
> >                  URL: https://issues.apache.org/jira/browse/DRILL-338
> >              Project: Apache Drill
> >           Issue Type: Bug
> >     Affects Versions: 1.0.0-milestone-1, 1.0.0-milestone-2, 1.0.0-milestone-3, 1.0.0-milestone-4, 1.0.0
> >          Environment: Windows OS
> >             Reporter: Ravisankar Sivasubramaniam
> >
> >
> > Currently sqlline may be executed only on *nix platforms.  Windows version of sqlline need to be created for developers using windows pcs.
> >
> >
> >
> > --
> > This message was sent by Atlassian JIRA
> > (v6.1.5#6160)
>      
>