[jira] [Created] (FLINK-13139) Various Hive tests fail on Travis

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-13139) Various Hive tests fail on Travis

Shang Yuanchun (Jira)
Till Rohrmann created FLINK-13139:
-------------------------------------

             Summary: Various Hive tests fail on Travis
                 Key: FLINK-13139
                 URL: https://issues.apache.org/jira/browse/FLINK-13139
             Project: Flink
          Issue Type: Bug
          Components: Connectors / Hive
    Affects Versions: 1.9.0
            Reporter: Till Rohrmann
             Fix For: 1.9.0


Various Hive related tests fail on Travis:

{code}
06:06:49.654 [ERROR] Errors:
06:06:49.654 [ERROR]   HiveInputFormatTest.createCatalog:66 » Catalog Failed to create Hive Metastore...
06:06:49.654 [ERROR]   HiveTableFactoryTest.init:55 » Catalog Failed to create Hive Metastore client
06:06:49.654 [ERROR]   HiveTableOutputFormatTest.createCatalog:72 » Catalog Failed to create Hive Met...
06:06:49.654 [ERROR]   HiveTableSinkTest.createCatalog:72 » Catalog Failed to create Hive Metastore c...
06:06:49.654 [ERROR]   HiveTableSourceTest.createCatalog:67 » Catalog Failed to create Hive Metastore...
06:06:49.654 [ERROR]   HiveCatalogGenericMetadataTest.init:49 » Catalog Failed to create Hive Metasto...
06:06:49.654 [ERROR]   HiveCatalogHiveMetadataTest.init:55 » Catalog Failed to create Hive Metastore ...
06:06:49.654 [ERROR]   HiveGenericUDFTest.testCeil:193->init:387 » ExceptionInInitializer
06:06:49.654 [ERROR]   HiveGenericUDFTest.testDecode:160 » NoClassDefFound Could not initialize class...
06:06:49.654 [ERROR]   HiveSimpleUDFTest.testUDFArray_singleArray:202->init:237 » NoClassDefFound Cou...
06:06:49.654 [ERROR]   HiveSimpleUDFTest.testUDFBin:60->init:237 » NoClassDefFound Could not initiali...
06:06:49.654 [ERROR]   HiveSimpleUDFTest.testUDFConv:67->init:237 » NoClassDefFound Could not initial...
06:06:49.654 [ERROR]   HiveSimpleUDFTest.testUDFJson:85->init:237 » NoClassDefFound Could not initial...
06:06:49.654 [ERROR]   HiveSimpleUDFTest.testUDFMinute:126->init:237 » ExceptionInInitializer
06:06:49.654 [ERROR]   HiveSimpleUDFTest.testUDFRand:51->init:237 » NoClassDefFound Could not initial...
06:06:49.654 [ERROR]   HiveSimpleUDFTest.testUDFRegExpExtract:153->init:237 » NoClassDefFound Could n...
06:06:49.654 [ERROR]   HiveSimpleUDFTest.testUDFToInteger:188->init:237 » NoClassDefFound Could not i...
06:06:49.654 [ERROR]   HiveSimpleUDFTest.testUDFUnbase64:166->init:237 » NoClassDefFound Could not in...
06:06:49.654 [ERROR]   HiveSimpleUDFTest.testUDFUnhex:177->init:237 » NoClassDefFound Could not initi...
06:06:49.654 [ERROR]   HiveSimpleUDFTest.testUDFWeekOfYear:139->init:237 » NoClassDefFound Could not ...
{code}

https://api.travis-ci.org/v3/job/555252043/log.txt



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
Reply | Threaded
Open this post in threaded view
|

Re: [jira] [Created] (FLINK-13139) Various Hive tests fail on Travis

徐小斌
Hello all:

I meet this problem with can’t import follow class in test file.
org.apache.flink.table.catalog.hive.HiveCatalog;
org.apache.flink.table.catalog.hive.HiveTestUtils;
org.apache.flink.table.catalog.hive.HivePartitionConfig;
org.apache.flink.table.catalog.hive.HiveCatalogConfig;
org.apache.flink.table.catalog.hive.HiveDatabaseConfig;

And even themselves can’t import each other. Is that some setting wrong with my editor?
I search the problem in google, told that may occur when copy files?
Is someone can fix this?

Thanks.
Louis



--
Louis
Email: [hidden email]

> On Jul 8, 2019, at 16:05, Till Rohrmann (JIRA) <[hidden email]> wrote:
>
> Till Rohrmann created FLINK-13139:
> -------------------------------------
>
>             Summary: Various Hive tests fail on Travis
>                 Key: FLINK-13139
>                 URL: https://issues.apache.org/jira/browse/FLINK-13139
>             Project: Flink
>          Issue Type: Bug
>          Components: Connectors / Hive
>    Affects Versions: 1.9.0
>            Reporter: Till Rohrmann
>             Fix For: 1.9.0
>
>
> Various Hive related tests fail on Travis:
>
> {code}
> 06:06:49.654 [ERROR] Errors:
> 06:06:49.654 [ERROR]   HiveInputFormatTest.createCatalog:66 » Catalog Failed to create Hive Metastore...
> 06:06:49.654 [ERROR]   HiveTableFactoryTest.init:55 » Catalog Failed to create Hive Metastore client
> 06:06:49.654 [ERROR]   HiveTableOutputFormatTest.createCatalog:72 » Catalog Failed to create Hive Met...
> 06:06:49.654 [ERROR]   HiveTableSinkTest.createCatalog:72 » Catalog Failed to create Hive Metastore c...
> 06:06:49.654 [ERROR]   HiveTableSourceTest.createCatalog:67 » Catalog Failed to create Hive Metastore...
> 06:06:49.654 [ERROR]   HiveCatalogGenericMetadataTest.init:49 » Catalog Failed to create Hive Metasto...
> 06:06:49.654 [ERROR]   HiveCatalogHiveMetadataTest.init:55 » Catalog Failed to create Hive Metastore ...
> 06:06:49.654 [ERROR]   HiveGenericUDFTest.testCeil:193->init:387 » ExceptionInInitializer
> 06:06:49.654 [ERROR]   HiveGenericUDFTest.testDecode:160 » NoClassDefFound Could not initialize class...
> 06:06:49.654 [ERROR]   HiveSimpleUDFTest.testUDFArray_singleArray:202->init:237 » NoClassDefFound Cou...
> 06:06:49.654 [ERROR]   HiveSimpleUDFTest.testUDFBin:60->init:237 » NoClassDefFound Could not initiali...
> 06:06:49.654 [ERROR]   HiveSimpleUDFTest.testUDFConv:67->init:237 » NoClassDefFound Could not initial...
> 06:06:49.654 [ERROR]   HiveSimpleUDFTest.testUDFJson:85->init:237 » NoClassDefFound Could not initial...
> 06:06:49.654 [ERROR]   HiveSimpleUDFTest.testUDFMinute:126->init:237 » ExceptionInInitializer
> 06:06:49.654 [ERROR]   HiveSimpleUDFTest.testUDFRand:51->init:237 » NoClassDefFound Could not initial...
> 06:06:49.654 [ERROR]   HiveSimpleUDFTest.testUDFRegExpExtract:153->init:237 » NoClassDefFound Could n...
> 06:06:49.654 [ERROR]   HiveSimpleUDFTest.testUDFToInteger:188->init:237 » NoClassDefFound Could not i...
> 06:06:49.654 [ERROR]   HiveSimpleUDFTest.testUDFUnbase64:166->init:237 » NoClassDefFound Could not in...
> 06:06:49.654 [ERROR]   HiveSimpleUDFTest.testUDFUnhex:177->init:237 » NoClassDefFound Could not initi...
> 06:06:49.654 [ERROR]   HiveSimpleUDFTest.testUDFWeekOfYear:139->init:237 » NoClassDefFound Could not ...
> {code}
>
> https://api.travis-ci.org/v3/job/555252043/log.txt
>
>
>
> --
> This message was sent by Atlassian JIRA
> (v7.6.3#76005)

Reply | Threaded
Open this post in threaded view
|

Re: [jira] [Created] (FLINK-13139) Various Hive tests fail on Travis

bowen.li
Hi Louis,


Thanks for reporting the issue. The problem is due to Hive 2.3.4 not
compatible with Hadoop 2.4, and requires at least 2.7. I'm not sure yet why
the build succeeded most of the time on Travis CI and only fails
occasionally, maybe it's because the build process
has flink-shaded-hadoop-2-uber in multiple hadoop 2 versions (2.4, 2.7,
etc) in its classpath somehow.

It's been fixed in FLINK-13134
<https://issues.apache.org/jira/browse/FLINK-13134>.




On Mon, Jul 8, 2019 at 3:15 AM 不常用邮箱 <[hidden email]> wrote:

> Hello all:
>
> I meet this problem with can’t import follow class in test file.
> org.apache.flink.table.catalog.hive.HiveCatalog;
> org.apache.flink.table.catalog.hive.HiveTestUtils;
> org.apache.flink.table.catalog.hive.HivePartitionConfig;
> org.apache.flink.table.catalog.hive.HiveCatalogConfig;
> org.apache.flink.table.catalog.hive.HiveDatabaseConfig;
>
> And even themselves can’t import each other. Is that some setting wrong
> with my editor?
> I search the problem in google, told that may occur when copy files?
> Is someone can fix this?
>
> Thanks.
> Louis
>
>
>
> --
> Louis
> Email: [hidden email]
>
> > On Jul 8, 2019, at 16:05, Till Rohrmann (JIRA) <[hidden email]> wrote:
> >
> > Till Rohrmann created FLINK-13139:
> > -------------------------------------
> >
> >             Summary: Various Hive tests fail on Travis
> >                 Key: FLINK-13139
> >                 URL: https://issues.apache.org/jira/browse/FLINK-13139
> >             Project: Flink
> >          Issue Type: Bug
> >          Components: Connectors / Hive
> >    Affects Versions: 1.9.0
> >            Reporter: Till Rohrmann
> >             Fix For: 1.9.0
> >
> >
> > Various Hive related tests fail on Travis:
> >
> > {code}
> > 06:06:49.654 [ERROR] Errors:
> > 06:06:49.654 [ERROR]   HiveInputFormatTest.createCatalog:66 » Catalog
> Failed to create Hive Metastore...
> > 06:06:49.654 [ERROR]   HiveTableFactoryTest.init:55 » Catalog Failed to
> create Hive Metastore client
> > 06:06:49.654 [ERROR]   HiveTableOutputFormatTest.createCatalog:72 »
> Catalog Failed to create Hive Met...
> > 06:06:49.654 [ERROR]   HiveTableSinkTest.createCatalog:72 » Catalog
> Failed to create Hive Metastore c...
> > 06:06:49.654 [ERROR]   HiveTableSourceTest.createCatalog:67 » Catalog
> Failed to create Hive Metastore...
> > 06:06:49.654 [ERROR]   HiveCatalogGenericMetadataTest.init:49 » Catalog
> Failed to create Hive Metasto...
> > 06:06:49.654 [ERROR]   HiveCatalogHiveMetadataTest.init:55 » Catalog
> Failed to create Hive Metastore ...
> > 06:06:49.654 [ERROR]   HiveGenericUDFTest.testCeil:193->init:387 »
> ExceptionInInitializer
> > 06:06:49.654 [ERROR]   HiveGenericUDFTest.testDecode:160 »
> NoClassDefFound Could not initialize class...
> > 06:06:49.654 [ERROR]
>  HiveSimpleUDFTest.testUDFArray_singleArray:202->init:237 »
> NoClassDefFound Cou...
> > 06:06:49.654 [ERROR]   HiveSimpleUDFTest.testUDFBin:60->init:237 »
> NoClassDefFound Could not initiali...
> > 06:06:49.654 [ERROR]   HiveSimpleUDFTest.testUDFConv:67->init:237 »
> NoClassDefFound Could not initial...
> > 06:06:49.654 [ERROR]   HiveSimpleUDFTest.testUDFJson:85->init:237 »
> NoClassDefFound Could not initial...
> > 06:06:49.654 [ERROR]   HiveSimpleUDFTest.testUDFMinute:126->init:237 »
> ExceptionInInitializer
> > 06:06:49.654 [ERROR]   HiveSimpleUDFTest.testUDFRand:51->init:237 »
> NoClassDefFound Could not initial...
> > 06:06:49.654 [ERROR]
>  HiveSimpleUDFTest.testUDFRegExpExtract:153->init:237 » NoClassDefFound
> Could n...
> > 06:06:49.654 [ERROR]   HiveSimpleUDFTest.testUDFToInteger:188->init:237
> » NoClassDefFound Could not i...
> > 06:06:49.654 [ERROR]   HiveSimpleUDFTest.testUDFUnbase64:166->init:237
> » NoClassDefFound Could not in...
> > 06:06:49.654 [ERROR]   HiveSimpleUDFTest.testUDFUnhex:177->init:237 »
> NoClassDefFound Could not initi...
> > 06:06:49.654 [ERROR]   HiveSimpleUDFTest.testUDFWeekOfYear:139->init:237
> » NoClassDefFound Could not ...
> > {code}
> >
> > https://api.travis-ci.org/v3/job/555252043/log.txt
> >
> >
> >
> > --
> > This message was sent by Atlassian JIRA
> > (v7.6.3#76005)
>
>