HADOOP-7691. Fixed conflict uid for install packages. (Eric Yang)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1178638 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
12743d2169
commit
de03173761
|
@ -636,6 +636,8 @@ Release 0.23.0 - Unreleased
|
||||||
HADOOP-7662. Fixed logs servlet to use the pathspec '/*' instead of '/'
|
HADOOP-7662. Fixed logs servlet to use the pathspec '/*' instead of '/'
|
||||||
for correct filtering. (Thomas Graves via vinodkv)
|
for correct filtering. (Thomas Graves via vinodkv)
|
||||||
|
|
||||||
|
HADOOP-7691. Fixed conflict uid for install packages. (Eric Yang)
|
||||||
|
|
||||||
Release 0.22.0 - Unreleased
|
Release 0.22.0 - Unreleased
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
|
|
@ -15,4 +15,4 @@
|
||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
getent group hadoop 2>/dev/null >/dev/null || /usr/sbin/groupadd -r hadoop
|
getent group hadoop 2>/dev/null >/dev/null || /usr/sbin/groupadd -g 123 -r hadoop
|
||||||
|
|
|
@ -132,7 +132,7 @@ mv ${RPM_BUILD_DIR}/%{_final_name}/share/* ${RPM_BUILD_DIR}%{_share_dir}
|
||||||
rm -rf ${RPM_BUILD_DIR}/%{_final_name}/etc
|
rm -rf ${RPM_BUILD_DIR}/%{_final_name}/etc
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
getent group hadoop 2>/dev/null >/dev/null || /usr/sbin/groupadd -r hadoop
|
getent group hadoop 2>/dev/null >/dev/null || /usr/sbin/groupadd -g 123 -r hadoop
|
||||||
|
|
||||||
%post
|
%post
|
||||||
bash ${RPM_INSTALL_PREFIX0}/sbin/update-hadoop-env.sh \
|
bash ${RPM_INSTALL_PREFIX0}/sbin/update-hadoop-env.sh \
|
||||||
|
|
Loading…
Reference in New Issue