Skip to content

Commit 75e88be

Browse files
author
avenherak
committed
HBASE-184: Illegal reflective access of sun.net.www.protocol.http.HttpURLConnection.userAgent
1 parent 2957d9a commit 75e88be

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bin/hbase-config.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ if [[ "$version" > "11" ]]; then
167167
HBASE_OPTS="$HBASE_OPTS --add-opens java.security.jgss/sun.security.krb5=ALL-UNNAMED"
168168
HBASE_OPTS="$HBASE_OPTS --add-opens java.base/sun.nio.ch=ALL-UNNAMED"
169169
HBASE_OPTS="$HBASE_OPTS --add-opens java.base/sun.nio.cs=ALL-UNNAMED"
170+
HBASE_OPTS="$HBASE_OPTS --add-opens java.base/sun.net.www.protocol.http=ALL-UNNAMED"
170171
HBASE_OPTS="$HBASE_OPTS --add-opens java.base/java.lang=ALL-UNNAMED"
171172
HBASE_OPTS="$HBASE_OPTS --add-opens java.base/java.lang.reflect=ALL-UNNAMED"
172173
HBASE_OPTS="$HBASE_OPTS --add-opens java.base/java.util.regex=ALL-UNNAMED"

0 commit comments

Comments
 (0)