hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zg...@apache.org
Subject [hbase] 117/133: HBASE-18579 Enable core dump by default for docker -revert
Date Tue, 12 Mar 2019 12:46:45 GMT
This is an automated email from the ASF dual-hosted git repository.

zghao pushed a commit to branch HBASE-14850
in repository https://gitbox.apache.org/repos/asf/hbase.git

commit 4bcfc05c357278b005c037f2538ce3ea93fed16e
Author: tedyu <yuzhihong@gmail.com>
AuthorDate: Mon Aug 14 16:15:22 2017 -0700

    HBASE-18579 Enable core dump by default for docker -revert
---
 hbase-native-client/bin/start-docker.sh     | 2 +-
 hbase-native-client/docker-files/Dockerfile | 4 +---
 2 files changed, 2 insertions(+), 4 deletions(-)

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
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


Mime
View raw message