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

Doroszlai, Attila updated HDDS-2024:
------------------------------------
    Description: 
Running {{rat.sh}} locally fails with the following error message (after the 
two Maven runs):

{code:title=./hadoop-ozone/dev-support/checks/rat.sh}
...
grep: warning: recursive search of stdin
{code}

This happens if {{grep}} is not the GNU one.

Further, {{rat.sh}} runs into: {{cat: target/rat-aggregated.txt: No such file 
or directory}} in subshell due to a typo, and so always exits with success:

{code:title=./hadoop-ozone/dev-support/checks/rat.sh}
...
cat: target/rat-aggregated.txt: No such file or directory

$ echo $?
0
{code}

  was:
Running {{rat.sh}} locally fails with the following error message (after the 
two Maven runs):

{code:title=./hadoop-ozone/dev-support/checks/rat.sh}
...
grep: warning: recursive search of stdin
{code}

This happens if {{grep}} is not the GNU one.

Further, {{rat.sh}} runs into: {{cat: target/rat-aggregated.txt: No such file 
or directory}} in subshell due to a typo, and so always exits with success:

{code:title=./hadoop-ozone/dev-support/checks/rat.sh}
...

cat: target/rat-aggregated.txt: No such file or directory

$ echo $?
0
{code}


> rat.sh: grep: warning: recursive search of stdin
> ------------------------------------------------
>
>                 Key: HDDS-2024
>                 URL: https://issues.apache.org/jira/browse/HDDS-2024
>             Project: Hadoop Distributed Data Store
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.4.1
>            Reporter: Doroszlai, Attila
>            Assignee: Doroszlai, Attila
>            Priority: Minor
>              Labels: pull-request-available
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Running {{rat.sh}} locally fails with the following error message (after the 
> two Maven runs):
> {code:title=./hadoop-ozone/dev-support/checks/rat.sh}
> ...
> grep: warning: recursive search of stdin
> {code}
> This happens if {{grep}} is not the GNU one.
> Further, {{rat.sh}} runs into: {{cat: target/rat-aggregated.txt: No such file 
> or directory}} in subshell due to a typo, and so always exits with success:
> {code:title=./hadoop-ozone/dev-support/checks/rat.sh}
> ...
> cat: target/rat-aggregated.txt: No such file or directory
> $ echo $?
> 0
> {code}



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to