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

Appy commented on HBASE-18376:
------------------------------

So after researching a bit on docker, passing env variables to containers, and 
what yetus supports, here what i came up with:
> Use of --env=Foo=value : Not possible since yetus builds the docker command 
> internally and doesn't provide any hook to inject args into docker cmd.
> Dockerfile ENV: Not sure if variables set in this way are only used in 
> dockerfile context, or also set for 'docker run' commands. (Ref: 
> https://docs.docker.com/engine/reference/builder/#env ). This suggests 
> latter, but not sure how to set an ENV variable from bash env variable. As in 
> "ENV foo=${foo}" wont work.

Looked at yetus source code to find any undocumented hook but no luck.
 (https://github.com/apache/yetus/blob/master/precommit/core.d/docker.sh)

> Flaky exclusion doesn't appear to work in precommit
> ---------------------------------------------------
>
>                 Key: HBASE-18376
>                 URL: https://issues.apache.org/jira/browse/HBASE-18376
>             Project: HBase
>          Issue Type: Bug
>          Components: community, test
>            Reporter: Sean Busbey
>            Priority: Critical
>         Attachments: HBASE-18376.master.001.patch
>
>
> Yesterday we started defaulting the precommit parameter for the flaky test 
> list to point to the job on builds.a.o. Looks like the personality is 
> ignoring it.
> example build that's marked to keep:
> https://builds.apache.org/job/PreCommit-HBASE-Build/7646/
> (search for 'Running unit tests' to skip to the right part of the console')
> should add some more debug output in there too.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to