diff --git a/hugegraph-cassandra/src/main/java/com/baidu/hugegraph/backend/store/cassandra/CassandraOptions.java b/hugegraph-cassandra/src/main/java/com/baidu/hugegraph/backend/store/cassandra/CassandraOptions.java index 79ab796089..ddc63e7146 100644 --- a/hugegraph-cassandra/src/main/java/com/baidu/hugegraph/backend/store/cassandra/CassandraOptions.java +++ b/hugegraph-cassandra/src/main/java/com/baidu/hugegraph/backend/store/cassandra/CassandraOptions.java @@ -54,7 +54,7 @@ public static synchronized CassandraOptions instance() { new ConfigOption<>( "cassandra.port", "The seeds port address of cassandra cluster.", - rangeInt(1024, 10000), + rangeInt(1, 65535), 9042 ); diff --git a/hugegraph-hbase/src/main/java/com/baidu/hugegraph/backend/store/hbase/HbaseOptions.java b/hugegraph-hbase/src/main/java/com/baidu/hugegraph/backend/store/hbase/HbaseOptions.java index 2937114f7c..96cfb8deab 100644 --- a/hugegraph-hbase/src/main/java/com/baidu/hugegraph/backend/store/hbase/HbaseOptions.java +++ b/hugegraph-hbase/src/main/java/com/baidu/hugegraph/backend/store/hbase/HbaseOptions.java @@ -53,7 +53,7 @@ public static synchronized HbaseOptions instance() { new ConfigOption<>( "hbase.port", "The port address of HBase zookeeper.", - rangeInt(1024, 10000), + rangeInt(1, 65535), 2181 );