You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by te...@apache.org on 2017/08/14 23:15:28 UTC

hbase git commit: HBASE-18579 Enable core dump by default for docker -revert

Repository: hbase
Updated Branches:
  refs/heads/HBASE-14850 6e0f6df79 -> d4bd3c71e


HBASE-18579 Enable core dump by default for docker -revert


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/d4bd3c71
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/d4bd3c71
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/d4bd3c71

Branch: refs/heads/HBASE-14850
Commit: d4bd3c71e12d86edab412da1389a3455dba5533e
Parents: 6e0f6df
Author: tedyu <yu...@gmail.com>
Authored: Mon Aug 14 16:15:22 2017 -0700
Committer: tedyu <yu...@gmail.com>
Committed: Mon Aug 14 16:15:22 2017 -0700

----------------------------------------------------------------------
 hbase-native-client/bin/start-docker.sh     | 2 +-
 hbase-native-client/docker-files/Dockerfile | 4 +---
 2 files changed, 2 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/d4bd3c71/hbase-native-client/bin/start-docker.sh
----------------------------------------------------------------------
diff --git a/hbase-native-client/bin/start-docker.sh b/hbase-native-client/bin/start-docker.sh
index 391238d..53325c1 100755
--- a/hbase-native-client/bin/start-docker.sh
+++ b/hbase-native-client/bin/start-docker.sh
@@ -55,7 +55,7 @@ fi;
 docker build -t hbase_native -f docker-files/Dockerfile .
 
 # After the image is built run the thing
-docker run --privileged=true -h="securecluster" -p 16050:16050/tcp \
+docker run -h="securecluster" -p 16050:16050/tcp \
          -v ${BASE_DIR}/..:/usr/src/hbase \
            -v ~/.m2:/root/.m2 \
          -it hbase_native /bin/bash

http://git-wip-us.apache.org/repos/asf/hbase/blob/d4bd3c71/hbase-native-client/docker-files/Dockerfile
----------------------------------------------------------------------
diff --git a/hbase-native-client/docker-files/Dockerfile b/hbase-native-client/docker-files/Dockerfile
index ac3cb47..efd9a9d 100644
--- a/hbase-native-client/docker-files/Dockerfile
+++ b/hbase-native-client/docker-files/Dockerfile
@@ -117,8 +117,6 @@ RUN cd /usr/src/ && \
   ctest && \
   make install
 
-RUN echo "enabled=1" >> /etc/default/apport
-
-ENTRYPOINT /usr/sbin/krb5kdc -P /var/run/krb5kdc.pid && echo "/tmp/core.%h.%e.%t" >> /proc/sys/kernel/core_pattern && sysctl -p && ulimit -c unlimited && /bin/bash
+ENTRYPOINT /usr/sbin/krb5kdc -P /var/run/krb5kdc.pid && /bin/bash
 
 WORKDIR /usr/src/hbase/hbase-native-client