Steve Loughran created YARN-11824:
-------------------------------------

             Summary: hamcrest jar is getting into yarn/lib
                 Key: YARN-11824
                 URL: https://issues.apache.org/jira/browse/YARN-11824
             Project: Hadoop YARN
          Issue Type: Bug
          Components: build
    Affects Versions: 3.5.0
            Reporter: Steve Loughran


3.5.0 builds now include a hamcrest jar

{code}
> find . -print | grep hamcrest
./licenses-binary/LICENSE-hamcrest.txt
./share/hadoop/tools/lib/hamcrest-core-1.3.jar
./share/hadoop/yarn/lib/hamcrest-3.0.jar
{code}

the hamcrest-3.0.jar is new, doesn't seem to be explicitly declared anywhere.
Nor it is listed in the LICENSE-binary file.
Some It is being exported as a dependency enough to break parquet builds

{code}

[INFO] --- dependency:3.7.1:analyze-only (default) @ parquet-hadoop ---
[ERROR] Used undeclared dependencies found:
[ERROR]    org.hamcrest:hamcrest:jar:3.0:provided
{code}

I don't understand what the dependency analyser is/how it is configured, but it 
is unhappy, even though the scope is only provided.





--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-dev-h...@hadoop.apache.org

Reply via email to