Comments (4)
A duplicate file caused this prompt. We can override, but it may be too generic as we cant compare the file always. If we skip, it may be a problem again. Hence a manual verification is always good. For automation, and if the files are safe, you could think about adding "-o" to fix the automation.
from cloudera-scripts-for-log4j.
Since the file is a duplicate, I would think that specifying either overwrite or skip would solve the issue since you only need one file and they are both the same. If the contents of the files are different I'd think that would cause other issues anyway with the application using the war file. Another option would be to add another environment variable that specifies the desired action (overwrite, skip, prompt).
from cloudera-scripts-for-log4j.
We dont face this issue in CDH6 and CDP and this particular file doesn't exist. If the issue is only there in CDH5, then it can be ignored since CDH5 need not be patched.
from cloudera-scripts-for-log4j.
We are on CDH6 but the CDH5 files still reside and consequently the script hangs while running via automation. Even if we went through an effort to rid our servers of all CDH5 files, it is possible it could occur with other war files now or in the future.
from cloudera-scripts-for-log4j.
Related Issues (20)
- Print If Directory is Not Found HOT 1
- Iterator File List for JAR Files When Looking for Class HOT 1
- Sanity Check for Affected Class File
- Parametrize targetdir and backupdir for HDP/HDF HOT 1
- Can this script work on CDH5 HOT 1
- Existence of unzip is not properly tested inside delete_jndi_from_jar_files HOT 1
- /tmp as backup dir is hardcoded HOT 3
- HDP: We added code to run the patch on the active name node only. HOT 5
- Symlinks are being followed and thus backing up the wrong jar HOT 3
- No validation on backup files - roll back not possible HOT 6
- HDP: Symlinks to jars not getting followed and scanned for JndiLookup.class files HOT 6
- code to backup for tar.gz is invalid HOT 3
- Temporary directories not cleaned up HOT 2
- Use git best-practices: do NOT force-push into the main branch HOT 2
- missing parameter in find HOT 3
- backupdir is hardcoded HOT 2
- Backup of tar.gz files is not occurring at the correct path with '-b' option HOT 1
- CVE-2021-45046 and CVE-2021-45105
- Files Can´t updated (cloudera-manager-daemons) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cloudera-scripts-for-log4j.