Uploaded image for project: 'Griffin'
  1. Griffin
  2. GRIFFIN-280

Issues with travis-ci build config

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Actually, some of the test cases are failed without external dependencies such as hive.

      Below is the travis-cli and we can find some exceptions

      https://travis-ci.org/apache/griffin

       
      2019-08-15 08:40:25.987 ERROR 5041 — [ main] o.a.g.c.m.h.HiveMetaStoreProxy [70] : Failed to connect hive metastore. {}
      568
      569org.apache.hadoop.hive.metastore.api.MetaException: Could not connect to meta store using any of the URIs provided. Most recent failure: org.apache.thrift.transport.TTransportException: java.net.ConnectException: Connection refused (Connection refused)
      570 at org.apache.thrift.transport.TSocket.open(TSocket.java:226)
      571 at org.apache.hadoop.hive.metastore.HiveMetaStoreClient.open(HiveMetaStoreClient.java:478)
      572 at org.apache.hadoop.hive.metastore.HiveMetaStoreClient.<init>(HiveMetaStoreClient.java:286)
      573 at org.apache.hadoop.hive.metastore.HiveMetaStoreClient.<init>(HiveMetaStoreClient.java:211)
      574 at org.apache.griffin.core.metastore.hive.HiveMetaStoreProxy.initHiveMetastoreClient(HiveMetaStoreProxy.java:68)
      575 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      576 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      577 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      578 at java.lang.reflect.Method.invoke(Method.java:498)
      579 at
       

      I think we might need to change travis config to execute docker-compose -f to start up the dockers before we run the CI test.

       

       

       

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                joohnnie Johnnie
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h