Hello,
I know this is not an issue with your docker-compose because I tried it and it works very well, but I've tried your hbase image in Openshift, and it shows a weird error I couldn't debug it, if you have any idea what's missing you'll be a great help, these are the logs :
OpenJDK 64-Bit Server VM warning: ignoring option PermSize=128m; support was removed in 8.0
--
| OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=128m; support was removed in 8.0
| log4j:ERROR setFile(null,true) call failed.
| java.io.FileNotFoundException: /opt/hbase/hbase-1.2.6/logs/SecurityAuth.audit (Permission denied)
| at java.io.FileOutputStream.open0(Native Method)
| at java.io.FileOutputStream.open(FileOutputStream.java:270)
| at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
| at java.io.FileOutputStream.<init>(FileOutputStream.java:133)
| at org.apache.log4j.FileAppender.setFile(FileAppender.java:294)
| at org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:207)
| at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:165)
| at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:307)
| at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:172)
| at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:104)
| at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:842)
| at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:768)
| at org.apache.log4j.PropertyConfigurator.parseCatsAndRenderers(PropertyConfigurator.java:672)
| at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:516)
| at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:580)
| at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:526)
| at org.apache.log4j.LogManager.<clinit>(LogManager.java:127)
| at org.apache.log4j.Logger.getLogger(Logger.java:104)
| at org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.java:262)
| at org.apache.commons.logging.impl.Log4JLogger.<init>(Log4JLogger.java:108)
| at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
| at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
| at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
| at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
| at org.apache.commons.logging.impl.LogFactoryImpl.createLogFromClass(LogFactoryImpl.java:1025)
| at org.apache.commons.logging.impl.LogFactoryImpl.discoverLogImplementation(LogFactoryImpl.java:844)
| at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:541)
| at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:292)
| at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:269)
| at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:655)
| at org.apache.hadoop.hbase.regionserver.HRegionServer.<clinit>(HRegionServer.java:204)
| 2018-10-26 13:50:05,194 INFO [main] util.VersionInfo: HBase 1.2.6
| 2018-10-26 13:50:05,195 INFO [main] util.VersionInfo: Source code repository file:///home/busbey/projects/hbase/hbase-assembly/target/hbase-1.2.6 revision=Unknown
| 2018-10-26 13:50:05,195 INFO [main] util.VersionInfo: Compiled by busbey on Mon May 29 02:25:32 CDT 2017
| 2018-10-26 13:50:05,195 INFO [main] util.VersionInfo: From source with checksum 7e8ce83a648e252758e9dae1fbe779c9
| 2018-10-26 13:50:05,558 INFO [main] master.HMasterCommandLine: Starting a zookeeper cluster
| 2018-10-26 13:50:05,584 INFO [main] server.ZooKeeperServer: Server environment:zookeeper.version=3.4.6-1569965, built on 02/20/2014 09:09 GMT
| 2018-10-26 13:50:05,584 INFO [main] server.ZooKeeperServer: Server environment:host.name=pinpoint-hbase
| 2018-10-26 13:50:05,584 INFO [main] server.ZooKeeperServer: Server environment:java.version=1.8.0_111
| 2018-10-26 13:50:05,584 INFO [main] server.ZooKeeperServer: Server environment:java.vendor=Oracle Corporation
| 2018-10-26 13:50:05,584 INFO [main] server.ZooKeeperServer: Server environment:java.home=/usr/lib/jvm/java-8-openjdk-amd64/jre
| 2018-10-26 13:50:05,585 INFO [main] server.ZooKeeperServer: Server environment:java.class.path=/opt/hbase/hbase-1.2.6/conf:/usr/lib/jvm/java-8-openjdk-amd64/lib/tools.jar:/opt/hbase/hbase-1.2.6:/opt/hbase/hbase-1.2.6/lib/activation-1.1.jar:/opt/hbase/hbase-1.2.6/lib/aopalliance-1.0.jar:/opt/hbase/hbase-1.2.6/lib/apacheds-i18n-2.0.0-M15.jar:/opt/hbase/hbase-1.2.6/lib/apacheds-kerberos-codec-2.0.0-M15.jar:/opt/hbase/hbase-1.2.6/lib/api-asn1-api-1.0.0-M20.jar:/opt/hbase/hbase-1.2.6/lib/api-util-1.0.0-M20.jar:/opt/hbase/hbase-1.2.6/lib/asm-3.1.jar:/opt/hbase/hbase-1.2.6/lib/avro-1.7.4.jar:/opt/hbase/hbase-1.2.6/lib/commons-beanutils-1.7.0.jar:/opt/hbase/hbase-1.2.6/lib/commons-beanutils-core-1.8.0.jar:/opt/hbase/hbase-1.2.6/lib/commons-cli-1.2.jar:/opt/hbase/hbase-1.2.6/lib/commons-codec-1.9.jar:/opt/hbase/hbase-1.2.6/lib/commons-collections-3.2.2.jar:/opt/hbase/hbase-1.2.6/lib/commons-compress-1.4.1.jar:/opt/hbase/hbase-1.2.6/lib/commons-configuration-1.6.jar:/opt/hbase/hbase-1.2.6/lib/commons-daemon-1.0.13.jar:/opt/hbase/hbase-1.2.6/lib/commons-digester-1.8.jar:/opt/hbase/hbase-1.2.6/lib/commons-el-1.0.jar:/opt/hbase/hbase-1.2.6/lib/commons-httpclient-3.1.jar:/opt/hbase/hbase-1.2.6/lib/commons-io-2.4.jar:/opt/hbase/hbase-1.2.6/lib/commons-lang-2.6.jar:/opt/hbase/hbase-1.2.6/lib/commons-logging-1.2.jar:/opt/hbase/hbase-1.2.6/lib/commons-math-2.2.jar:/opt/hbase/hbase-1.2.6/lib/commons-math3-3.1.1.jar:/opt/hbase/hbase-1.2.6/lib/commons-net-3.1.jar:/opt/hbase/hbase-1.2.6/lib/disruptor-3.3.0.jar:/opt/hbase/hbase-1.2.6/lib/findbugs-annotations-1.3.9-1.jar:/opt/hbase/hbase-1.2.6/lib/guava-12.0.1.jar:/opt/hbase/hbase-1.2.6/lib/guice-3.0.jar:/opt/hbase/hbase-1.2.6/lib/guice-servlet-3.0.jar:/opt/hbase/hbase-1.2.6/lib/hadoop-annotations-2.5.1.jar:/opt/hbase/hbase-1.2.6/lib/hadoop-auth-2.5.1.jar:/opt/hbase/hbase-1.2.6/lib/hadoop-client-2.5.1.jar:/opt/hbase/hbase-1.2.6/lib/hadoop-common-2.5.1.jar:/opt/hbase/hbase-1.2.6/lib/hadoop-hdfs-2.5.1.jar:/opt/hbase/hbase-1.2.6/lib/hadoop-mapreduce-client-app-2.5.1.jar:/opt/hbase/hbase-1
| .2.6/lib/hadoop-mapreduce-client-common-2.5.1.jar:/opt/hbase/hbase-1.2.6/lib/hadoop-mapreduce-client-core-2.5.1.jar:/opt/hbase/hbase-1.2.6/lib/hadoop-mapreduce-client-jobclient-2.5.1.jar:/opt/hbase/hbase-1.2.6/lib/hadoop-mapreduce-client-shuffle-2.5.1.jar:/opt/hbase/hbase-1.2.6/lib/hadoop-yarn-api-2.5.1.jar:/opt/hbase/hbase-1.2.6/lib/hadoop-yarn-client-2.5.1.jar:/opt/hbase/hbase-1.2.6/lib/hadoop-yarn-common-2.5.1.jar:/opt/hbase/hbase-1.2.6/lib/hadoop-yarn-server-common-2.5.1.jar:/opt/hbase/hbase-1.2.6/lib/hbase-annotations-1.2.6-tests.jar:/opt/hbase/hbase-1.2.6/lib/hbase-annotations-1.2.6.jar:/opt/hbase/hbase-1.2.6/lib/hbase-client-1.2.6.jar:/opt/hbase/hbase-1.2.6/lib/hbase-common-1.2.6-tests.jar:/opt/hbase/hbase-1.2.6/lib/hbase-common-1.2.6.jar:/opt/hbase/hbase-1.2.6/lib/hbase-examples-1.2.6.jar:/opt/hbase/hbase-1.2.6/lib/hbase-external-blockcache-1.2.6.jar:/opt/hbase/hbase-1.2.6/lib/hbase-hadoop-compat-1.2.6.jar:/opt/hbase/hbase-1.2.6/lib/hbase-hadoop2-compat-1.2.6.jar:/opt/hbase/hbase-1.2.6/lib/hbase-it-1.2.6-tests.jar:/opt/hbase/hbase-1.2.6/lib/hbase-it-1.2.6.jar:/opt/hbase/hbase-1.2.6/lib/hbase-prefix-tree-1.2.6.jar:/opt/hbase/hbase-1.2.6/lib/hbase-procedure-1.2.6.jar:/opt/hbase/hbase-1.2.6/lib/hbase-protocol-1.2.6.jar:/opt/hbase/hbase-1.2.6/lib/hbase-resource-bundle-1.2.6.jar:/opt/hbase/hbase-1.2.6/lib/hbase-rest-1.2.6.jar:/opt/hbase/hbase-1.2.6/lib/hbase-server-1.2.6-tests.jar:/opt/hbase/hbase-1.2.6/lib/hbase-server-1.2.6.jar:/opt/hbase/hbase-1.2.6/lib/hbase-shell-1.2.6.jar:/opt/hbase/hbase-1.2.6/lib/hbase-thrift-1.2.6.jar:/opt/hbase/hbase-1.2.6/lib/htrace-core-3.1.0-incubating.jar:/opt/hbase/hbase-1.2.6/lib/httpclient-4.2.5.jar:/opt/hbase/hbase-1.2.6/lib/httpcore-4.4.1.jar:/opt/hbase/hbase-1.2.6/lib/jackson-core-asl-1.9.13.jar:/opt/hbase/hbase-1.2.6/lib/jackson-jaxrs-1.9.13.jar:/opt/hbase/hbase-1.2.6/lib/jackson-mapper-asl-1.9.13.jar:/opt/hbase/hbase-1.2.6/lib/jackson-xc-1.9.13.jar:/opt/hbase/hbase-1.2.6/lib/jamon-runtime-2.4.1.jar:/opt/hbase/hbase-1.2.6/lib/jasper-compiler-5.5.23.jar:/opt/hbase/hbase-1.2
| .6/lib/jasper-runtime-5.5.23.jar:/opt/hbase/hbase-1.2.6/lib/java-xmlbuilder-0.4.jar:/opt/hbase/hbase-1.2.6/lib/javax.inject-1.jar:/opt/hbase/hbase-1.2.6/lib/jaxb-api-2.2.2.jar:/opt/hbase/hbase-1.2.6/lib/jaxb-impl-2.2.3-1.jar:/opt/hbase/hbase-1.2.6/lib/jcodings-1.0.8.jar:/opt/hbase/hbase-1.2.6/lib/jersey-client-1.9.jar:/opt/hbase/hbase-1.2.6/lib/jersey-core-1.9.jar:/opt/hbase/hbase-1.2.6/lib/jersey-guice-1.9.jar:/opt/hbase/hbase-1.2.6/lib/jersey-json-1.9.jar:/opt/hbase/hbase-1.2.6/lib/jersey-server-1.9.jar:/opt/hbase/hbase-1.2.6/lib/jets3t-0.9.0.jar:/opt/hbase/hbase-1.2.6/lib/jettison-1.3.3.jar:/opt/hbase/hbase-1.2.6/lib/jetty-6.1.26.jar:/opt/hbase/hbase-1.2.6/lib/jetty-sslengine-6.1.26.jar:/opt/hbase/hbase-1.2.6/lib/jetty-util-6.1.26.jar:/opt/hbase/hbase-1.2.6/lib/joni-2.1.2.jar:/opt/hbase/hbase-1.2.6/lib/jruby-complete-1.6.8.jar:/opt/hbase/hbase-1.2.6/lib/jsch-0.1.42.jar:/opt/hbase/hbase-1.2.6/lib/jsp-2.1-6.1.14.jar:/opt/hbase/hbase-1.2.6/lib/jsp-api-2.1-6.1.14.jar:/opt/hbase/hbase-1.2.6/lib/junit-4.12.jar:/opt/hbase/hbase-1.2.6/lib/leveldbjni-all-1.8.jar:/opt/hbase/hbase-1.2.6/lib/libthrift-0.9.3.jar:/opt/hbase/hbase-1.2.6/lib/log4j-1.2.17.jar:/opt/hbase/hbase-1.2.6/lib/metrics-core-2.2.0.jar:/opt/hbase/hbase-1.2.6/lib/netty-all-4.0.23.Final.jar:/opt/hbase/hbase-1.2.6/lib/paranamer-2.3.jar:/opt/hbase/hbase-1.2.6/lib/protobuf-java-2.5.0.jar:/opt/hbase/hbase-1.2.6/lib/servlet-api-2.5-6.1.14.jar:/opt/hbase/hbase-1.2.6/lib/servlet-api-2.5.jar:/opt/hbase/hbase-1.2.6/lib/slf4j-api-1.7.7.jar:/opt/hbase/hbase-1.2.6/lib/slf4j-log4j12-1.7.5.jar:/opt/hbase/hbase-1.2.6/lib/snappy-java-1.0.4.1.jar:/opt/hbase/hbase-1.2.6/lib/spymemcached-2.11.6.jar:/opt/hbase/hbase-1.2.6/lib/xmlenc-0.52.jar:/opt/hbase/hbase-1.2.6/lib/xz-1.0.jar:/opt/hbase/hbase-1.2.6/lib/zookeeper-3.4.6.jar:
| 2018-10-26 13:50:05,585 INFO [main] server.ZooKeeperServer: Server environment:java.library.path=/usr/java/packages/lib/amd64:/usr/lib/x86_64-linux-gnu/jni:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/jni:/lib:/usr/lib
| 2018-10-26 13:50:05,585 INFO [main] server.ZooKeeperServer: Server environment:java.io.tmpdir=/tmp
| 2018-10-26 13:50:05,585 INFO [main] server.ZooKeeperServer: Server environment:java.compiler=<NA>
| 2018-10-26 13:50:05,585 INFO [main] server.ZooKeeperServer: Server environment:os.name=Linux
| 2018-10-26 13:50:05,585 INFO [main] server.ZooKeeperServer: Server environment:os.arch=amd64
| 2018-10-26 13:50:05,585 INFO [main] server.ZooKeeperServer: Server environment:os.version=3.10.0-693.5.2.el7.x86_64
| 2018-10-26 13:50:05,585 INFO [main] server.ZooKeeperServer: Server environment:user.name=?
| 2018-10-26 13:50:05,585 INFO [main] server.ZooKeeperServer: Server environment:user.home=?
| 2018-10-26 13:50:05,585 INFO [main] server.ZooKeeperServer: Server environment:user.dir=/
| 2018-10-26 13:50:05,600 INFO [main] server.ZooKeeperServer: Created server with tickTime 2000 minSessionTimeout 4000 maxSessionTimeout 40000 datadir /home/pinpoint/zookeeper/zookeeper_0/version-2 snapdir /home/pinpoint/zookeeper/zookeeper_0/version-2
| 2018-10-26 13:50:05,617 INFO [main] server.NIOServerCnxnFactory: binding to port 0.0.0.0/0.0.0.0:2181
| 2018-10-26 13:50:05,859 INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181] server.NIOServerCnxnFactory: Accepted socket connection from /127.0.0.1:58212
| 2018-10-26 13:50:05,867 INFO [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181] server.NIOServerCnxn: Processing stat command from /127.0.0.1:58212
| 2018-10-26 13:50:05,872 INFO [Thread-2] server.NIOServerCnxn: Stat command output
| 2018-10-26 13:50:05,873 INFO [Thread-2] server.NIOServerCnxn: Closed socket connection for client /127.0.0.1:58212 (no session established for client)
| 2018-10-26 13:50:05,873 INFO [main] zookeeper.MiniZooKeeperCluster: Started MiniZooKeeperCluster and ran successful 'stat' on client port=2181
| 2018-10-26 13:50:05,873 INFO [main] master.HMasterCommandLine: Starting up instance of localHBaseCluster; master=1, regionserversCount=1
| 2018-10-26 13:50:06,085 WARN [main] util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
| 2018-10-26 13:50:06,326 INFO [main] regionserver.RSRpcServices: master/pinpoint-hbase/172.20.0.3:0 server-side HConnection retries=350
| 2018-10-26 13:50:06,462 INFO [main] ipc.SimpleRpcScheduler: Using deadline as user call queue, count=3
| 2018-10-26 13:50:06,472 INFO [main] ipc.RpcServer: master/pinpoint-hbase/172.20.0.3:0: started 10 reader(s) listening on port=44762
| 2018-10-26 13:50:06,703 ERROR [main] master.HMasterCommandLine: Master exiting
| java.lang.RuntimeException: Failed construction of Master: class org.apache.hadoop.hbase.master.HMasterCommandLine$LocalHMasterjava.lang.NullPointerException: invalid null input: name
| at com.sun.security.auth.UnixPrincipal.<init>(UnixPrincipal.java:71)
| at com.sun.security.auth.module.UnixLoginModule.login(UnixLoginModule.java:133)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
| at java.lang.reflect.Method.invoke(Method.java:498)
| at javax.security.auth.login.LoginContext.invoke(LoginContext.java:755)
| at javax.security.auth.login.LoginContext.access$000(LoginContext.java:195)
| at javax.security.auth.login.LoginContext$4.run(LoginContext.java:682)
| at javax.security.auth.login.LoginContext$4.run(LoginContext.java:680)
| at java.security.AccessController.doPrivileged(Native Method)
| at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
| at javax.security.auth.login.LoginContext.login(LoginContext.java:587)
| at org.apache.hadoop.security.UserGroupInformation.loginUserFromSubject(UserGroupInformation.java:757)
| at org.apache.hadoop.security.UserGroupInformation.getLoginUser(UserGroupInformation.java:734)
| at org.apache.hadoop.security.UserGroupInformation.getCurrentUser(UserGroupInformation.java:607)
| at org.apache.hadoop.hbase.security.User$SecureHadoopUser.<init>(User.java:293)
| at org.apache.hadoop.hbase.security.User.getCurrent(User.java:191)
| at org.apache.hadoop.hbase.security.Superusers.initialize(Superusers.java:59)
| at org.apache.hadoop.hbase.regionserver.HRegionServer.<init>(HRegionServer.java:552)
| at org.apache.hadoop.hbase.master.HMaster.<init>(HMaster.java:412)
| at org.apache.hadoop.hbase.master.HMasterCommandLine$LocalHMaster.<init>(HMasterCommandLine.java:312)
| at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
| at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
| at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
| at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
| at org.apache.hadoop.hbase.util.JVMClusterUtil.createMasterThread(JVMClusterUtil.java:139)
| at org.apache.hadoop.hbase.LocalHBaseCluster.addMaster(LocalHBaseCluster.java:220)
| at org.apache.hadoop.hbase.LocalHBaseCluster.<init>(LocalHBaseCluster.java:155)
| at org.apache.hadoop.hbase.master.HMasterCommandLine.startMaster(HMasterCommandLine.java:222)
| at org.apache.hadoop.hbase.master.HMasterCommandLine.run(HMasterCommandLine.java:137)
| at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
| at org.apache.hadoop.hbase.util.ServerCommandLine.doMain(ServerCommandLine.java:126)
| at org.apache.hadoop.hbase.master.HMaster.main(HMaster.java:2522)
|
| at org.apache.hadoop.hbase.util.JVMClusterUtil.createMasterThread(JVMClusterUtil.java:143)
| at org.apache.hadoop.hbase.LocalHBaseCluster.addMaster(LocalHBaseCluster.java:220)
| at org.apache.hadoop.hbase.LocalHBaseCluster.<init>(LocalHBaseCluster.java:155)
| at org.apache.hadoop.hbase.master.HMasterCommandLine.startMaster(HMasterCommandLine.java:222)
| at org.apache.hadoop.hbase.master.HMasterCommandLine.run(HMasterCommandLine.java:137)
| at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
| at org.apache.hadoop.hbase.util.ServerCommandLine.doMain(ServerCommandLine.java:126)
| at org.apache.hadoop.hbase.master.HMaster.main(HMaster.java:2522)
| Caused by: java.io.IOException: failure to login
| at org.apache.hadoop.security.UserGroupInformation.loginUserFromSubject(UserGroupInformation.java:782)
| at org.apache.hadoop.security.UserGroupInformation.getLoginUser(UserGroupInformation.java:734)
| at org.apache.hadoop.security.UserGroupInformation.getCurrentUser(UserGroupInformation.java:607)
| at org.apache.hadoop.hbase.security.User$SecureHadoopUser.<init>(User.java:293)
| at org.apache.hadoop.hbase.security.User.getCurrent(User.java:191)
| at org.apache.hadoop.hbase.security.Superusers.initialize(Superusers.java:59)
| at org.apache.hadoop.hbase.regionserver.HRegionServer.<init>(HRegionServer.java:552)
| at org.apache.hadoop.hbase.master.HMaster.<init>(HMaster.java:412)
| at org.apache.hadoop.hbase.master.HMasterCommandLine$LocalHMaster.<init>(HMasterCommandLine.java:312)
| at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
| at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
| at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
| at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
| at org.apache.hadoop.hbase.util.JVMClusterUtil.createMasterThread(JVMClusterUtil.java:139)
| ... 7 more
| Caused by: javax.security.auth.login.LoginException: java.lang.NullPointerException: invalid null input: name
| at com.sun.security.auth.UnixPrincipal.<init>(UnixPrincipal.java:71)
| at com.sun.security.auth.module.UnixLoginModule.login(UnixLoginModule.java:133)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
| at java.lang.reflect.Method.invoke(Method.java:498)
| at javax.security.auth.login.LoginContext.invoke(LoginContext.java:755)
| at javax.security.auth.login.LoginContext.access$000(LoginContext.java:195)
| at javax.security.auth.login.LoginContext$4.run(LoginContext.java:682)
| at javax.security.auth.login.LoginContext$4.run(LoginContext.java:680)
| at java.security.AccessController.doPrivileged(Native Method)
| at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
| at javax.security.auth.login.LoginContext.login(LoginContext.java:587)
| at org.apache.hadoop.security.UserGroupInformation.loginUserFromSubject(UserGroupInformation.java:757)
| at org.apache.hadoop.security.UserGroupInformation.getLoginUser(UserGroupInformation.java:734)
| at org.apache.hadoop.security.UserGroupInformation.getCurrentUser(UserGroupInformation.java:607)
| at org.apache.hadoop.hbase.security.User$SecureHadoopUser.<init>(User.java:293)
| at org.apache.hadoop.hbase.security.User.getCurrent(User.java:191)
| at org.apache.hadoop.hbase.security.Superusers.initialize(Superusers.java:59)
| at org.apache.hadoop.hbase.regionserver.HRegionServer.<init>(HRegionServer.java:552)
| at org.apache.hadoop.hbase.master.HMaster.<init>(HMaster.java:412)
| at org.apache.hadoop.hbase.master.HMasterCommandLine$LocalHMaster.<init>(HMasterCommandLine.java:312)
| at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
| at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
| at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
| at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
| at org.apache.hadoop.hbase.util.JVMClusterUtil.createMasterThread(JVMClusterUtil.java:139)
| at org.apache.hadoop.hbase.LocalHBaseCluster.addMaster(LocalHBaseCluster.java:220)
| at org.apache.hadoop.hbase.LocalHBaseCluster.<init>(LocalHBaseCluster.java:155)
| at org.apache.hadoop.hbase.master.HMasterCommandLine.startMaster(HMasterCommandLine.java:222)
| at org.apache.hadoop.hbase.master.HMasterCommandLine.run(HMasterCommandLine.java:137)
| at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
| at org.apache.hadoop.hbase.util.ServerCommandLine.doMain(ServerCommandLine.java:126)
| at org.apache.hadoop.hbase.master.HMaster.main(HMaster.java:2522)
|
| at javax.security.auth.login.LoginContext.invoke(LoginContext.java:856)
| at javax.security.auth.login.LoginContext.access$000(LoginContext.java:195)
| at javax.security.auth.login.LoginContext$4.run(LoginContext.java:682)
| at javax.security.auth.login.LoginContext$4.run(LoginContext.java:680)
| at java.security.AccessController.doPrivileged(Native Method)
| at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
| at javax.security.auth.login.LoginContext.login(LoginContext.java:587)
| at org.apache.hadoop.security.UserGroupInformation.loginUserFromSubject(UserGroupInformation.java:757)
| ... 20 more
Hello, I know this is not an issue with your docker-compose because I tried it and it works very well, but I've tried your hbase image in Openshift, and it shows a weird error I couldn't debug it, if you have any idea what's missing you'll be a great help, these are the logs :