cloudera / cloudera-scripts-for-log4j

Scripts for addressing log4j zero day security issue
Apache License 2.0
86 stars 68 forks source link

Not working for HDFS file system for non-secure HDFS Cluster #9

Closed chetkhatri closed 2 years ago

chetkhatri commented 2 years ago

Hi Team,

Thanks for great work, this is not working for HDFS file system for non-secure HDFS Cluster. Below is an error:

Running on '/usr/lib'
Backing up files to '/opt/cloudera/log4shell-backup'
Running on '/var/lib'
Backing up files to '/opt/cloudera/log4shell-backup'
Run successful
Found an HDFS namenode on this host, removing JNDI from HDFS tar.gz files
Using /etc/security/keytabs/hdfs.headless.keytab to access HDFS
./hdp_support_scripts/patch_hdfs_tgz.sh: line 43: klist: command not found
Using /etc/security/keytabs/hdfs.headless.keytab to access HDFS
./hdp_support_scripts/patch_hdfs_tgz.sh: line 43: klist: command not found
chetkhatri commented 2 years ago

@cloudera-hudson @stevendean @shreelola @sdevineni

cloudera-hudson commented 2 years ago

Notified the engineering team.

chetkhatri commented 2 years ago

@cloudera-hudson Thanks!