hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kengo Seki (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-12196) shellcheck plugin is picking up target executables
Date Fri, 10 Jul 2015 04:07:05 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-12196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Kengo Seki updated HADOOP-12196:
--------------------------------
    Attachment: HADOOP-12196.HADOOP-12111.01.patch

Attaching a patch. I adopted the former plan.

> shellcheck plugin is picking up target executables
> --------------------------------------------------
>
>                 Key: HADOOP-12196
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12196
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: yetus
>            Reporter: Allen Wittenauer
>         Attachments: HADOOP-12196.HADOOP-12111.01.patch
>
>
> When hadoop-yarn-server-nodemanager is in the build, it generates target/native/target/usr/local/bin/(test-)container-executor.
 shellcheck picks these up and throws a "hGetContents: invalid argument (invalid byte sequence)"
error.  
> We need some sort of safety to determine if a file is binary or shell code and/or prevent
target directories from getting picked up.  I suspect the former to be more reliable than
the latter since we can't assume maven.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message