2020-10-30 11:28:24,063 INFO [main] ipc.RpcServerFactory: Creating org.apache.hadoop.hbase.ipc.NettyRpcServer hosting hbase.pb.MasterService, hbase.pb.RegionServerStatusService, hbase.pb.LockService, hbase.pb.HbckService, hbase.pb.ClientMetaService, hbase.pb.ClientService, hbase.pb.AdminService
2020-10-30 11:28:24,143 INFO [main] Configuration.deprecation: hbase.ipc.server.reservoir.initial.buffer.size is deprecated. Instead, use hbase.server.allocator.buffer.size
2020-10-30 11:28:24,143 INFO [main] Configuration.deprecation: hbase.ipc.server.reservoir.initial.max is deprecated. Instead, use hbase.server.allocator.max.buffer.count
2020-10-30 11:28:24,820 INFO [main] ipc.NettyRpcServer: Bind to /192.168.31.88:16000
2020-10-30 11:28:25,595 INFO [main] util.FSTableDescriptors: REFETCH_BLOCKS_ON_OPEN => ‘false’, COMPRESSION => ‘NONE’, BLOCKCACHE => ‘true’, BLOCKSIZE => ‘8192’}, {NAME => ‘rep_barrier’, VERSIONS => ‘2147483647’, EVICT_BLOCKS_ON_CLOSE => ‘false’, KEEP_DELETED_CELLS => ‘FALSE’, CACHE_DATA_ON_WRITE => ‘false’, DATA_BLOCK_ENCODING => ‘NONE’, TTL => ‘FOREVER’, MIN_VERSIONS => ‘0’, REPLICATION_SCOPE => ‘0’, BLOOMFILTER => ‘NONE’, CACHE_INDEX_ON_WRITE => ‘false’, IN_MEMORY => ‘true’, CACHE_BLOOMS_ON_WRITE => ‘false’, PREFETCH_BLOCKS_ON_OPEN => ‘false’, COMPRESSION => ‘NONE’, BLOCKCACHE => ‘true’, BLOCKSIZE => ‘65536’}, {NAME => ‘table’, VERSIONS => ‘3’, EVICT_BLOCKS_ON_CLOSE => ‘false’, KEEP_DELETED_CELLS => ‘FALSE’, CACHE_DATA_ON_WRITE => ‘false’, DATA_BLOCK_ENCODING => ‘NONE’, TTL => ‘FOREVER’, MIN_VERSIONS => ‘0’, REPLICATION_SCOPE => ‘0’, BLOOMFILTER => ‘NONE’, CACHE_INDEX_ON_WRITE => ‘false’, IN_MEMORY => ‘true’, CACHE_BLOOMS_ON_WRITE => ‘false’, PREFETCH_BLOCKS_ON_OPEN => ‘false’, COMPRESSION => ‘NONE’, BLOCKCACHE => ‘true’, BLOCKSIZE => ‘8192’}
2020-10-30 11:28:25,610 ERROR [main] regionserver.HRegionServer: Failed construction RegionServer
java.lang.RuntimeException: java.io.FileNotFoundException: java.io.FileNotFoundException: HADOOP_HOME and hadoop.home.dir are unset. -see https://wiki.apache.org/hadoop/WindowsProblems
at org.apache.hadoop.util.Shell.getWinUtilsPath(Shell.java:722)
at org.apache.hadoop.util.Shell.getSetPermissionCommand(Shell.java:256)
at org.apache.hadoop.util.Shell.getSetPermissionCommand(Shell.java:273)
at org.apache.hadoop.fs.RawLocalFileSystem.setPermission(RawLocalFileSystem.java:767)
at org.apache.hadoop.fs.RawLocalFileSystem
L
o
c
a
l
F
S
F
i
l
e
O
u
t
p
u
t
S
t
r
e
a
m
.
<
i
n
i
t
>
(
R
a
w
L
o
c
a
l
F
i
l
e
S
y
s
t
e
m
.
j
a
v
a
:
235
)
a
t
o
r
g
.
a
p
a
c
h
e
.
h
a
d
o
o
p
.
f
s
.
R
a
w
L
o
c
a
l
F
i
l
e
S
y
s
t
e
m
LocalFSFileOutputStream.<init>(RawLocalFileSystem.java:235) at org.apache.hadoop.fs.RawLocalFileSystem
LocalFSFileOutputStream.<init>(RawLocalFileSystem.java:235)atorg.apache.hadoop.fs.RawLocalFileSystemLocalFSFileOutputStream.(RawLocalFileSystem.java:219)
at org.apache.hadoop.fs.RawLocalFileSystem.createOutputStreamWithMode(RawLocalFileSystem.java:314)
at org.apache.hadoop.fs.RawLocalFileSystem.create(RawLocalFileSystem.java:302)
at org.apache.hadoop.fs.RawLocalFileSystem.create(RawLocalFileSystem.java:334)
at org.apache.hadoop.fs.ChecksumFileSystem.create(ChecksumFileSystem.java:466)
at org.apache.hadoop.fs.ChecksumFileSystem.create(ChecksumFileSystem.java:441)
at org.apache.hadoop.fs.FilterFileSystem.create(FilterFileSystem.java:181)
at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:1067)
at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:1048)
at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:937)
at org.apache.hadoop.hbase.util.FSTableDescriptors.writeTD(FSTableDescriptors.java:642)
at org.apache.hadoop.hbase.util.FSTableDescriptors.writeTableDescriptor(FSTableDescriptors.java:616)
at org.apache.hadoop.hbase.util.FSTableDescriptors.tryUpdateMetaTableDescriptor(FSTableDescriptors.java:141)
at org.apache.hadoop.hbase.regionserver.HRegionServer.initializeFileSystem(HRegionServer.java:738)
at org.apache.hadoop.hbase.regionserver.HRegionServer.(HRegionServer.java:635)
at org.apache.hadoop.hbase.master.HMaster.(HMaster.java:524)
at org.apache.hadoop.hbase.master.HMasterCommandLine
L
o
c
a
l
H
M
a
s
t
e
r
.
<
i
n
i
t
>
(
H
M
a
s
t
e
r
C
o
m
m
a
n
d
L
i
n
e
.
j
a
v
a
:
308
)
a
t
j
a
v
a
.
b
a
s
e
/
j
d
k
.
i
n
t
e
r
n
a
l
.
r
e
f
l
e
c
t
.
N
a
t
i
v
e
C
o
n
s
t
r
u
c
t
o
r
A
c
c
e
s
s
o
r
I
m
p
l
.
n
e
w
I
n
s
t
a
n
c
e
0
(
N
a
t
i
v
e
M
e
t
h
o
d
)
a
t
j
a
v
a
.
b
a
s
e
/
j
d
k
.
i
n
t
e
r
n
a
l
.
r
e
f
l
e
c
t
.
N
a
t
i
v
e
C
o
n
s
t
r
u
c
t
o
r
A
c
c
e
s
s
o
r
I
m
p
l
.
n
e
w
I
n
s
t
a
n
c
e
(
N
a
t
i
v
e
C
o
n
s
t
r
u
c
t
o
r
A
c
c
e
s
s
o
r
I
m
p
l
.
j
a
v
a
:
62
)
a
t
j
a
v
a
.
b
a
s
e
/
j
d
k
.
i
n
t
e
r
n
a
l
.
r
e
f
l
e
c
t
.
D
e
l
e
g
a
t
i
n
g
C
o
n
s
t
r
u
c
t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.
R
u
n
t
i
m
e
E
x
c
e
p
t
i
o
n
:
F
a
i
l
e
d
c
o
n
s
t
r
u
c
t
i
o
n
o
f
M
a
s
t
e
r
:
c
l
a
s
s
o
r
g
.
a
p
a
c
h
e
.
h
a
d
o
o
p
.
h
b
a
s
e
.
m
a
s
t
e
r
.
H
M
a
s
t
e
r
C
o
m
m
a
n
d
L
i
n
e
LocalHMaster.<init>(HMasterCommandLine.java:308) at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500) at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481) at org.apache.hadoop.hbase.util.JVMClusterUtil.createMasterThread(JVMClusterUtil.java:132) at org.apache.hadoop.hbase.LocalHBaseCluster.addMaster(LocalHBaseCluster.java:239) at org.apache.hadoop.hbase.LocalHBaseCluster.<init>(LocalHBaseCluster.java:181) at org.apache.hadoop.hbase.LocalHBaseCluster.<init>(LocalHBaseCluster.java:128) at org.apache.hadoop.hbase.master.HMasterCommandLine.startMaster(HMasterCommandLine.java:229) at org.apache.hadoop.hbase.master.HMasterCommandLine.run(HMasterCommandLine.java:140) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:76) at org.apache.hadoop.hbase.util.ServerCommandLine.doMain(ServerCommandLine.java:149) at org.apache.hadoop.hbase.master.HMaster.main(HMaster.java:3072) Caused by: java.io.FileNotFoundException: java.io.FileNotFoundException: HADOOP_HOME and hadoop.home.dir are unset. -see https://wiki.apache.org/hadoop/WindowsProblems at org.apache.hadoop.util.Shell.fileNotFoundException(Shell.java:534) at org.apache.hadoop.util.Shell.getHadoopHomeDir(Shell.java:555) at org.apache.hadoop.util.Shell.getQualifiedBin(Shell.java:578) at org.apache.hadoop.util.Shell.<clinit>(Shell.java:675) at org.apache.hadoop.util.StringUtils.<clinit>(StringUtils.java:78) at org.apache.hadoop.conf.Configuration.getBoolean(Configuration.java:1567) at org.apache.hadoop.hbase.HBaseConfiguration.checkDefaultsVersion(HBaseConfiguration.java:70) at org.apache.hadoop.hbase.HBaseConfiguration.addHbaseResources(HBaseConfiguration.java:84) at org.apache.hadoop.hbase.HBaseConfiguration.create(HBaseConfiguration.java:98) ... 2 more Caused by: java.io.FileNotFoundException: HADOOP_HOME and hadoop.home.dir are unset. at org.apache.hadoop.util.Shell.checkHadoopHomeInner(Shell.java:454) at org.apache.hadoop.util.Shell.checkHadoopHome(Shell.java:425) at org.apache.hadoop.util.Shell.<clinit>(Shell.java:502) ... 7 more 2020-10-30 11:28:25,612 ERROR [main] master.HMasterCommandLine: Master exiting java.lang.RuntimeException: Failed construction of Master: class org.apache.hadoop.hbase.master.HMasterCommandLine
LocalHMaster.<init>(HMasterCommandLine.java:308)atjava.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(NativeMethod)atjava.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)atjava.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)atjava.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)atjava.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481)atorg.apache.hadoop.hbase.util.JVMClusterUtil.createMasterThread(JVMClusterUtil.java:132)atorg.apache.hadoop.hbase.LocalHBaseCluster.addMaster(LocalHBaseCluster.java:239)atorg.apache.hadoop.hbase.LocalHBaseCluster.<init>(LocalHBaseCluster.java:181)atorg.apache.hadoop.hbase.LocalHBaseCluster.<init>(LocalHBaseCluster.java:128)atorg.apache.hadoop.hbase.master.HMasterCommandLine.startMaster(HMasterCommandLine.java:229)atorg.apache.hadoop.hbase.master.HMasterCommandLine.run(HMasterCommandLine.java:140)atorg.apache.hadoop.util.ToolRunner.run(ToolRunner.java:76)atorg.apache.hadoop.hbase.util.ServerCommandLine.doMain(ServerCommandLine.java:149)atorg.apache.hadoop.hbase.master.HMaster.main(HMaster.java:3072)Causedby:java.io.FileNotFoundException:java.io.FileNotFoundException:HADOOPHOMEandhadoop.home.dirareunset.−seehttps://wiki.apache.org/hadoop/WindowsProblemsatorg.apache.hadoop.util.Shell.fileNotFoundException(Shell.java:534)atorg.apache.hadoop.util.Shell.getHadoopHomeDir(Shell.java:555)atorg.apache.hadoop.util.Shell.getQualifiedBin(Shell.java:578)atorg.apache.hadoop.util.Shell.<clinit>(Shell.java:675)atorg.apache.hadoop.util.StringUtils.<clinit>(StringUtils.java:78)atorg.apache.hadoop.conf.Configuration.getBoolean(Configuration.java:1567)atorg.apache.hadoop.hbase.HBaseConfiguration.checkDefaultsVersion(HBaseConfiguration.java:70)atorg.apache.hadoop.hbase.HBaseConfiguration.addHbaseResources(HBaseConfiguration.java:84)atorg.apache.hadoop.hbase.HBaseConfiguration.create(HBaseConfiguration.java:98)...2moreCausedby:java.io.FileNotFoundException:HADOOPHOMEandhadoop.home.dirareunset.atorg.apache.hadoop.util.Shell.checkHadoopHomeInner(Shell.java:454)atorg.apache.hadoop.util.Shell.checkHadoopHome(Shell.java:425)atorg.apache.hadoop.util.Shell.<clinit>(Shell.java:502)...7more2020−10−3011:28:25,612ERROR[main]master.HMasterCommandLine:Masterexitingjava.lang.RuntimeException:FailedconstructionofMaster:classorg.apache.hadoop.hbase.master.HMasterCommandLineLocalHMasterjava.io.FileNotFoundException: HADOOP_HOME and hadoop.home.dir are unset. -see https://wiki.apache.org/hadoop/WindowsProblems
at org.apache.hadoop.hbase.util.JVMClusterUtil.createMasterThread(JVMClusterUtil.java:137)
at org.apache.hadoop.hbase.LocalHBaseCluster.addMaster(LocalHBaseCluster.java:239)
at org.apache.hadoop.hbase.LocalHBaseCluster.(LocalHBaseCluster.java:181)
at org.apache.hadoop.hbase.LocalHBaseCluster.(LocalHBaseCluster.java:128)
at org.apache.hadoop.hbase.master.HMasterCommandLine.startMaster(HMasterCommandLine.java:229)
at org.apache.hadoop.hbase.master.HMasterCommandLine.run(HMasterCommandLine.java:140)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:76)
at org.apache.hadoop.hbase.util.ServerCommandLine.doMain(ServerCommandLine.java:149)
at org.apache.hadoop.hbase.master.HMaster.main(HMaster.java:3072)
Caused by: java.lang.RuntimeException: java.io.FileNotFoundException: java.io.FileNotFoundException: HADOOP_HOME and hadoop.home.dir are unset. -see https://wiki.apache.org/hadoop/WindowsProblems
at org.apache.hadoop.util.Shell.getWinUtilsPath(Shell.java:722)
at org.apache.hadoop.util.Shell.getSetPermissionCommand(Shell.java:256)
at org.apache.hadoop.util.Shell.getSetPermissionCommand(Shell.java:273)
at org.apache.hadoop.fs.RawLocalFileSystem.setPermission(RawLocalFileSystem.java:767)
at org.apache.hadoop.fs.RawLocalFileSystem
L
o
c
a
l
F
S
F
i
l
e
O
u
t
p
u
t
S
t
r
e
a
m
.
<
i
n
i
t
>
(
R
a
w
L
o
c
a
l
F
i
l
e
S
y
s
t
e
m
.
j
a
v
a
:
235
)
a
t
o
r
g
.
a
p
a
c
h
e
.
h
a
d
o
o
p
.
f
s
.
R
a
w
L
o
c
a
l
F
i
l
e
S
y
s
t
e
m
LocalFSFileOutputStream.<init>(RawLocalFileSystem.java:235) at org.apache.hadoop.fs.RawLocalFileSystem
LocalFSFileOutputStream.<init>(RawLocalFileSystem.java:235)atorg.apache.hadoop.fs.RawLocalFileSystemLocalFSFileOutputStream.(RawLocalFileSystem.java:219)
at org.apache.hadoop.fs.RawLocalFileSystem.createOutputStreamWithMode(RawLocalFileSystem.java:314)
at org.apache.hadoop.fs.RawLocalFileSystem.create(RawLocalFileSystem.java:302)
at org.apache.hadoop.fs.RawLocalFileSystem.create(RawLocalFileSystem.java:334)
at org.apache.hadoop.fs.ChecksumFileSystem.create(ChecksumFileSystem.java:466)
at org.apache.hadoop.fs.ChecksumFileSystem.create(ChecksumFileSystem.java:441)
at org.apache.hadoop.fs.FilterFileSystem.create(FilterFileSystem.java:181)
at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:1067)
at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:1048)
at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:937)
at org.apache.hadoop.hbase.util.FSTableDescriptors.writeTD(FSTableDescriptors.java:642)
at org.apache.hadoop.hbase.util.FSTableDescriptors.writeTableDescriptor(FSTableDescriptors.java:616)
at org.apache.hadoop.hbase.util.FSTableDescriptors.tryUpdateMetaTableDescriptor(FSTableDescriptors.java:141)
at org.apache.hadoop.hbase.regionserver.HRegionServer.initializeFileSystem(HRegionServer.java:738)
at org.apache.hadoop.hbase.regionserver.HRegionServer.(HRegionServer.java:635)
at org.apache.hadoop.hbase.master.HMaster.(HMaster.java:524)
at org.apache.hadoop.hbase.master.HMasterCommandLine$LocalHMaster.(HMasterCommandLine.java:308)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481)
at org.apache.hadoop.hbase.util.JVMClusterUtil.createMasterThread(JVMClusterUtil.java:132)
… 8 more
Caused by: java.io.FileNotFoundException: java.io.FileNotFoundException: HADOOP_HOME and hadoop.home.dir are unset. -see https://wiki.apache.org/hadoop/WindowsProblems
at org.apache.hadoop.util.Shell.fileNotFoundException(Shell.java:534)
at org.apache.hadoop.util.Shell.getHadoopHomeDir(Shell.java:555)
at org.apache.hadoop.util.Shell.getQualifiedBin(Shell.java:578)
at org.apache.hadoop.util.Shell.(Shell.java:675)
at org.apache.hadoop.util.StringUtils.(StringUtils.java:78)
at org.apache.hadoop.conf.Configuration.getBoolean(Configuration.java:1567)
at org.apache.hadoop.hbase.HBaseConfiguration.checkDefaultsVersion(HBaseConfiguration.java:70)
at org.apache.hadoop.hbase.HBaseConfiguration.addHbaseResources(HBaseConfiguration.java:84)
at org.apache.hadoop.hbase.HBaseConfiguration.create(HBaseConfiguration.java:98)
… 2 more
Caused by: java.io.FileNotFoundException: HADOOP_HOME and hadoop.home.dir are unset.
at org.apache.hadoop.util.Shell.checkHadoopHomeInner(Shell.java:454)
at org.apache.hadoop.util.Shell.checkHadoopHome(Shell.java:425)
at org.apache.hadoop.util.Shell.(Shell.java:502)
这是在win10环境下安装hbase2.3.2后,运行hbase报的错误;这里提示很明显,需要hadoop的系统环境配置路径。
下载一个hadoop文件,解压放到某个目录后,设置一下HADOOP_HOME 环境。