drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Wong (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DRILL-3791) Test JDBC plugin with MySQL
Date Fri, 13 Nov 2015 23:14:10 GMT

    [ https://issues.apache.org/jira/browse/DRILL-3791?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15004884#comment-15004884
] 

Patrick Wong commented on DRILL-3791:
-------------------------------------

Got this issue when building the tarball on default (Apache Hadoop) profile with {{-DskipTests}}

{code}
[INFO] Skipping inmemdb:run because inmemdb.skip=='true'
[INFO] 
[INFO] --- jcabi-mysql-maven-plugin:0.8.2:start (mysql-test) @ drill-jdbc-storage ---
[INFO] jcabi-aspects 0.20.1/f0aff93 started new daemon thread jcabi-cacheable for automated
cleaning of expired @Cacheable values
Nov 13, 2015 11:05:02 PM org.hibernate.validator.internal.util.Version <clinit>
INFO: HV000001: Hibernate Validator 5.2.0.Alpha1
[ERROR] JSR-303 validator failed to initialize: HV000183: Unable to load 'javax.el.ExpressionFactory'.
Check that you have the EL dependencies on the classpath, or use ParameterMessageInterpolator
instead (see http://aspects.jcabi.com/jsr-303.html)
[INFO] jcabi-aspects 0.20.1/f0aff93 started new daemon thread jcabi-loggable for watching
of @Loggable annotated methods
[INFO] reuse existing database false
[INFO] created /root/drill/contrib/storage-jdbc/target/mysql-data directory
[INFO] $ /root/drill/contrib/storage-jdbc/target/mysql-dist/scripts/mysql_install_db --defaults-file=/root/drill/contrib/storage-jdbc/target/mysql-data/my-default.cnf
--force --innodb_use_native_aio=0 --datadir=/root/drill/contrib/storage-jdbc/target/mysql-data/data
--basedir=/root/drill/contrib/storage-jdbc/target/mysql-dist
[WARNING] >> Can't locate Data/Dumper.pm in @INC (@INC contains: /usr/local/lib64/perl5
/usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5
/usr/share/perl5 .) at /root/drill/contrib/storage-jdbc/target/mysql-dist/scripts/mysql_install_db
line 42.
[WARNING] >> BEGIN failed--compilation aborted at /root/drill/contrib/storage-jdbc/target/mysql-dist/scripts/mysql_install_db
line 42.
[INFO] $ /root/drill/contrib/storage-jdbc/target/mysql-dist/bin/mysqld --no-defaults --user=root
--general_log --console --innodb_buffer_pool_size=64M --innodb_log_file_size=64M --log_warnings
--innodb_use_native_aio=0 --binlog-ignore-db=drill_mysql_test --basedir=/root/drill/contrib/storage-jdbc/target/mysql-dist
--lc-messages-dir=/root/drill/contrib/storage-jdbc/target/mysql-dist/share --datadir=/root/drill/contrib/storage-jdbc/target/mysql-data/data
--tmpdir=/root/drill/contrib/storage-jdbc/target/mysql-data/temp --socket=/root/drill/contrib/storage-jdbc/target/mysql-data/mysql.sock
--pid-file=/root/drill/contrib/storage-jdbc/target/mysql-data/mysql.pid --port=53047
[INFO] >> /root/drill/contrib/storage-jdbc/target/mysql-dist/bin/mysqld: error while
loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory
[ERROR] #start('Config(tcpport=53047, dbuser=root, dbpassword=root, name=drill_mysql_test,
dbopts=[])', /root/drill/contrib/storage-jdbc/target/mysql-dist, /root/drill/contrib/storage-jdbc/target/mysql-data,
true, NULL): thrown java.io.IOException(socket /root/drill/contrib/storage-jdbc/target/mysql-data/mysql.sock
is not available after 5min of waiting) out of com.jcabi.mysql.maven.plugin.Instances#waitFor[322]
in 5min
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache Drill Root POM .............................. SUCCESS [ 43.487 s]
[INFO] tools/Parent Pom ................................... SUCCESS [  0.773 s]
[INFO] tools/freemarker codegen tooling ................... SUCCESS [ 35.942 s]
[INFO] Drill Protocol ..................................... SUCCESS [ 10.265 s]
[INFO] Common (Logical Plan, Base expressions) ............ SUCCESS [ 28.422 s]
[INFO] Logical Plan, Base expressions ..................... SUCCESS [  9.278 s]
[INFO] exec/Parent Pom .................................... SUCCESS [  0.740 s]
[INFO] exec/memory/Parent Pom ............................. SUCCESS [  0.567 s]
[INFO] exec/memory/base ................................... SUCCESS [  2.244 s]
[INFO] exec/memory/impl ................................... SUCCESS [  3.062 s]
[INFO] exec/rpc ........................................... SUCCESS [  4.034 s]
[INFO] exec/Vectors ....................................... SUCCESS [01:40 min]
[INFO] contrib/Parent Pom ................................. SUCCESS [  0.601 s]
[INFO] contrib/data/Parent Pom ............................ SUCCESS [  0.547 s]
[INFO] contrib/data/tpch-sample-data ...................... SUCCESS [ 26.573 s]
[INFO] exec/Java Execution Engine ......................... SUCCESS [01:59 min]
[INFO] exec/JDBC Driver using dependencies ................ SUCCESS [ 48.446 s]
[INFO] JDBC JAR with all dependencies ..................... SUCCESS [01:15 min]
[INFO] contrib/mongo-storage-plugin ....................... SUCCESS [ 11.440 s]
[INFO] contrib/hbase-storage-plugin ....................... SUCCESS [01:06 min]
[INFO] contrib/jdbc-storage-plugin ........................ FAILURE [05:50 min]
[INFO] contrib/hive-storage-plugin/Parent Pom ............. SKIPPED
[INFO] contrib/hive-storage-plugin/hive-exec-shaded ....... SKIPPED
[INFO] contrib/hive-storage-plugin/core ................... SKIPPED
[INFO] contrib/drill-gis-plugin ........................... SKIPPED
[INFO] Packaging and Distribution Assembly ................ SKIPPED
[INFO] contrib/sqlline .................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 15:42 min
[INFO] Finished at: 2015-11-13T23:10:03+00:00
[INFO] Final Memory: 135M/895M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.jcabi:jcabi-mysql-maven-plugin:0.8.2:start (mysql-test)
on project drill-jdbc-storage: failed to start MySQL server: socket /root/drill/contrib/storage-jdbc/target/mysql-data/mysql.sock
is not available after 5min of waiting -> [Help 1]
{code}

It should not attempt to start MySQL when {{-DskipTests}} is declared.

> Test JDBC plugin with MySQL
> ---------------------------
>
>                 Key: DRILL-3791
>                 URL: https://issues.apache.org/jira/browse/DRILL-3791
>             Project: Apache Drill
>          Issue Type: Test
>          Components: Storage - Other
>            Reporter: Andrew
>            Assignee: Andrew
>            Priority: Blocker
>
> Testing the new JDBC storage plugin against MySQL.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message