[ 
https://issues.apache.org/jira/browse/HBASE-29017?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17903593#comment-17903593
 ] 

Dávid Paksy edited comment on HBASE-29017 at 12/6/24 9:29 AM:
--------------------------------------------------------------

I was able to successfully start the REST server with the bin/hbase-daemons.sh 
script the following way (after the project was built):
{noformat}
cd projects/hbase
bin/hbase-daemon.sh --config /conf start rest
running rest, logging to 
/home/david/projects/hbase/bin/../logs/hbase-david-rest-paksyd-5680-ubuntu.out
{noformat}
Did not saw the above error in the logs.

I'm on 1880cb3ab57 revision.


was (Author: JIRAUSER306931):
I was able to successfully start the REST server with the bin/hbase-daemons.sh 
script the following way (after the project was built):
{noformat}
$ cd projects/hbase
$ bin/hbase-daemon.sh --config /conf start rest
running rest, logging to 
/home/david/projects/hbase/bin/../logs/hbase-david-rest-paksyd-5680-ubuntu.out
${noformat}
Did not saw the above error in the logs

I'm on 1880cb3ab57 revision.

> bin/hbase-daemons.sh start rest does not work
> ---------------------------------------------
>
>                 Key: HBASE-29017
>                 URL: https://issues.apache.org/jira/browse/HBASE-29017
>             Project: HBase
>          Issue Type: Bug
>          Components: REST, scripts
>            Reporter: Istvan Toth
>            Priority: Major
>
> The REST server cannot be started by the hbase-daemons.sh script:
> {noformat}
> 2024-12-05T10:49:02,588 INFO  [main] RESTServer: ***** STARTING service 
> 'RESTServer' *****
> 2024-12-05T10:49:02,592 INFO  [main] util.VersionInfo: HBase 
> 4.0.0-alpha-1-SNAPSHOT
> 2024-12-05T10:49:02,592 INFO  [main] util.VersionInfo: Source code repository 
> git://stoty-Precision-5570/home/stoty/workspaces/hbase/hbase 
> revision=c556dde144612aa71524a011e01892316ca15d57
> 2024-12-05T10:49:02,592 INFO  [main] util.VersionInfo: Compiled by stoty on 
> Wed Dec  4 03:33:22 PM CET 2024
> 2024-12-05T10:49:02,592 INFO  [main] util.VersionInfo: From source with 
> checksum 
> 560992c1bb047ee39799a052cd32c63379cb7622c8fa8ef46f6260c9ce65f50501eb8b041b6570791fd520f39648c75d2359a5344a04b85da65532baa0fa2d7e
> 2024-12-05T10:49:02,730 ERROR [main] RESTServer: Could not parse: 
> org.apache.hbase.thirdparty.org.apache.commons.cli.UnrecognizedOptionException:
>  Unrecognized option: -Dhbase.regionserver.port=16020
>         at 
> org.apache.hbase.thirdparty.org.apache.commons.cli.Parser.processOption(Parser.java:244)
>  ~[hbase-shaded-miscellaneous-4.1.9.jar:4.1.9]
>         at 
> org.apache.hbase.thirdparty.org.apache.commons.cli.Parser.parse(Parser.java:176)
>  ~[hbase-shaded-miscellaneous-4.1.9.jar:4.1.9]
>         at 
> org.apache.hbase.thirdparty.org.apache.commons.cli.Parser.parse(Parser.java:94)
>  ~[hbase-shaded-miscellaneous-4.1.9.jar:4.1.9]
>         at 
> org.apache.hadoop.hbase.rest.RESTServer.parseCommandLine(RESTServer.java:181) 
> ~[hbase-rest-4.0.0-alpha-1-SNAPSHOT.jar:4.0.0-alpha-1-SNAPSHOT]
>         at org.apache.hadoop.hbase.rest.RESTServer.main(RESTServer.java:468) 
> ~[hbase-rest-4.0.0-alpha-1-SNAPSHOT.jar:4.0.0-alpha-1-SNAPSHOT]
> Thu Dec  5 10:55:16 AM CET 2024 Starting rest on stoty-Precision-5570
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to