beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davor Bonaci (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (BEAM-1676) SdkCoreApiSurfaceTest Failed When Directory Contains Space
Date Mon, 01 May 2017 03:58:04 GMT

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

Davor Bonaci commented on BEAM-1676:
------------------------------------

This is the best path forward, almost certainly.

Fixed Guava requires (or, will require) Java 8, which we may not be ready to upgrade to. So,
waiting for a Guava fix is not the right strategy, and we should move from the Guava implementation
somewhere else.

If there's no other good, easy-to-use, lean library that provides this, we should just re-implement/copy-paste
Guava's code. No worries from the licensing perspective; it's Apache 2-licensed code.

> SdkCoreApiSurfaceTest Failed When Directory Contains Space
> ----------------------------------------------------------
>
>                 Key: BEAM-1676
>                 URL: https://issues.apache.org/jira/browse/BEAM-1676
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-java-core
>            Reporter: Mark Liu
>            Assignee: Stas Levin
>
> Test failed if build directory contains space. For example: "~/dir with space/beam/..."
> The failure happened on Jenkins and can be reproduced from local.
> GcpApiSurfaceTest may have same problem.
> error is:
> {code}
> Failed tests: 
>   SdkCoreApiSurfaceTest.testSdkApiSurface:59 
> Expected: API surface to include only:
> 	Classes in package "org.apache.beam"
> 	Classes in package "com.google.api.client"
> 	Classes in package "com.google.api.services.bigquery"
> 	Classes in package "com.google.api.services.cloudresourcemanager"
> 	Classes in package "com.google.api.services.pubsub"
> 	Classes in package "com.google.api.services.storage"
> 	Classes in package "com.google.auth"
> 	Classes in package "com.google.protobuf"
> 	Classes in package "com.fasterxml.jackson.annotation"
> 	Classes in package "com.fasterxml.jackson.core"
> 	Classes in package "com.fasterxml.jackson.databind"
> 	Classes in package "org.apache.avro"
> 	Classes in package "org.hamcrest"
> 	Classes in package "org.codehaus.jackson"
> 	Classes in package "org.joda.time"
> 	Classes in package "org.junit"
> 	
>      but: The following white-listed scopes did not have matching classes on the API
surface:
> 	No Classes in package "com.fasterxml.jackson.annotation"
> 	No Classes in package "com.fasterxml.jackson.core"
> 	No Classes in package "com.fasterxml.jackson.databind"
> 	No Classes in package "com.google.api.client"
> 	No Classes in package "com.google.api.services.bigquery"
> 	No Classes in package "com.google.api.services.cloudresourcemanager"
> 	No Classes in package "com.google.api.services.pubsub"
> 	No Classes in package "com.google.api.services.storage"
> 	No Classes in package "com.google.auth"
> 	No Classes in package "com.google.protobuf"
> 	No Classes in package "org.apache.avro"
> 	No Classes in package "org.apache.beam"
> 	No Classes in package "org.codehaus.jackson"
> 	No Classes in package "org.hamcrest"
> 	No Classes in package "org.joda.time"
> 	No Classes in package "org.junit"
> {code}
> Job link from Jenkins:
> https://builds.apache.org/job/beam_PostCommit_Java_Version_Test/14/
> One of the Jenkins job uses "JDK 1.8 (latest)" which is also part of project directory.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message