Some more information to troubleshoot the problem. If I execute "mvn clean install -DskipTests", I am getting the output given at the bottom of this email, which indicates success. On the other hand if I try to log the output into file, I am getting an error. I am attaching the log file for reference. [INFO] [INFO] --- maven-install-plugin:2.3.1:install (default-install) @ distribution --- [INFO] Installing D:\workspace\incubator-drill\distribution\pom.xml to C:\Users\ravisankars\.m2\repository\org\apache\drill\distribution\1.0.0-m2-incubating-SNA PSHOT\distribution-1.0.0-m2-incubating-SNAPSHOT.pom [INFO] Installing D:\workspace\incubator-drill\distribution\target\apache-drill-1.0.0-m2-incubating-SNAPSHOT-binary-release.tar.gz to C:\Users\ravisankars\.m2\r epository\org\apache\drill\distribution\1.0.0-m2-incubating-SNAPSHOT\distribution-1.0.0-m2-incubating-SNAPSHOT-binary-release.tar.gz [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Apache Drill Root POM ............................. SUCCESS [2.047s] [INFO] Drill Protocol .................................... SUCCESS [3.090s] [INFO] Common (Logical Plan, Base expressions) ........... SUCCESS [2.753s] [INFO] contrib/Parent Pom ................................ SUCCESS [0.165s] [INFO] contrib/hbase-storage-engine ...................... SUCCESS [0.247s] [INFO] exec/Parent Pom ................................... SUCCESS [0.179s] [INFO] exec/Reference Interpreter ........................ SUCCESS [1.677s] [INFO] exec/Netty Little Endian Buffers .................. SUCCESS [0.383s] [INFO] exec/Java Execution Engine ........................ SUCCESS [12.188s] [INFO] SQL Parser ........................................ SUCCESS [1.703s] [INFO] contrib/sqlline ................................... SUCCESS [1.897s] [INFO] Packaging and Distribution Assembly ............... SUCCESS [56.521s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1:23.110s [INFO] Finished at: Sat Dec 28 15:29:55 IST 2013 [INFO] Final Memory: 52M/168M [INFO] ------------------------------------------------------------------------ D:\workspace\incubator-drill> Regards, Ravi From: [email protected] To: [email protected] Subject: RE: [OS: Windows] Could not find or load main class sqlline.SqlLine Date: Sat, 28 Dec 2013 14:38:13 +0530
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) > >
[INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] Apache Drill Root POM [INFO] Drill Protocol [INFO] Common (Logical Plan, Base expressions) [INFO] contrib/Parent Pom [INFO] contrib/hbase-storage-engine [INFO] exec/Parent Pom [INFO] exec/Reference Interpreter [INFO] exec/Netty Little Endian Buffers [INFO] exec/Java Execution Engine [INFO] SQL Parser [INFO] contrib/sqlline [INFO] Packaging and Distribution Assembly [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Apache Drill Root POM 1.0.0-m2-incubating-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ drill-root --- [INFO] Deleting D:\workspace\incubator-drill\target [INFO] [INFO] --- maven-enforcer-plugin:1.2:enforce (no_commons_logging) @ drill-root --- [INFO] [INFO] --- maven-remote-resources-plugin:1.4:process (default) @ drill-root --- [INFO] [INFO] --- apache-rat-plugin:0.10:check (rat-checks) @ drill-root --- [INFO] 57 implicit excludes (use -debug for more details). [INFO] Exclude: **/*.md [INFO] Exclude: sandbox/** [INFO] Exclude: **/*.json [INFO] Exclude: **/drill-*.conf [INFO] Exclude: **/.buildpath [INFO] Exclude: **/*.proto [INFO] Exclude: **/*.fmpp [INFO] Exclude: **/*.tdd [INFO] 13 resources included (use -debug for more details) Warning: org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser: Property 'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit' is not recognized. Compiler warnings: WARNING: 'org.apache.xerces.jaxp.SAXParserImpl: Property 'http://javax.xml.XMLConstants/property/accessExternalDTD' is not recognized.' Warning: org.apache.xerces.parsers.SAXParser: Feature 'http://javax.xml.XMLConstants/feature/secure-processing' is not recognized. Warning: org.apache.xerces.parsers.SAXParser: Property 'http://javax.xml.XMLConstants/property/accessExternalDTD' is not recognized. Warning: org.apache.xerces.parsers.SAXParser: Property 'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit' is not recognized. [INFO] Rat check: Summary of files. Unapproved: 1 unknown: 1 generated: 0 approved: 7 licence. [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Apache Drill Root POM ............................. FAILURE [1.761s] [INFO] Drill Protocol .................................... SKIPPED [INFO] Common (Logical Plan, Base expressions) ........... SKIPPED [INFO] contrib/Parent Pom ................................ SKIPPED [INFO] contrib/hbase-storage-engine ...................... SKIPPED [INFO] exec/Parent Pom ................................... SKIPPED [INFO] exec/Reference Interpreter ........................ SKIPPED [INFO] exec/Netty Little Endian Buffers .................. SKIPPED [INFO] exec/Java Execution Engine ........................ SKIPPED [INFO] SQL Parser ........................................ SKIPPED [INFO] contrib/sqlline ................................... SKIPPED [INFO] Packaging and Distribution Assembly ............... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.988s [INFO] Finished at: Sat Dec 28 15:31:14 IST 2013 [INFO] Final Memory: 14M/33M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.10:check (rat-checks) on project drill-root: Too many files with unapproved license: 1 See RAT report in: D:\workspace\incubator-drill\target\rat.txt -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
