avast / avast/hdfs-shell

Return codes are not passed to the calling shell

Open
#22 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
152
Forks
35
PR merge metrics
No merged PRs in 30d

Description

Return codes for command like **hdfs dfs -test -d /** are not passed. The command always returns zero as a success. The same behavior appears in daemon mode.

This functionality is critical to implement this product for real workloads.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing how commands such as `hdfs dfs -test -d /` are executed and how their return status reaches the calling shell. Reproduce the always-zero result in both normal and daemon modes, then verify that the command's actual status is returned in each mode.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, shell
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.