[
https://issues.apache.org/jira/browse/HDDS-8186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17705225#comment-17705225
]
flyphant commented on HDDS-8186:
--------------------------------
thank you very much!it's truely the reason of the problem! But i use java
api,set:
OzoneConfiguration configuration=new OzoneConfiguration();
configuration.set("ozone.server.default.replication.type","RATIS");
configuration.set("ozone.server.default.replication","ONE");
it's not work!
When i start it in the production environment, would i change any config?
is there any offical document introduce ?
> the ozone couldn't start by the offical document
> ------------------------------------------------
>
> Key: HDDS-8186
> URL: https://issues.apache.org/jira/browse/HDDS-8186
> Project: Apache Ozone
> Issue Type: Bug
> Components: 1.3
> Affects Versions: 1.3.0
> Environment: centos7.1 + java 1.8
> Reporter: flyphant
> Assignee: Saketa Chalamchala
> Priority: Major
> Fix For: HDDS-4770
>
> Attachments: Screen Shot 2023-03-24 at 1.35.29 AM.png,
> image-2023-03-16-19-29-56-001.png
>
> Original Estimate: 96h
> Remaining Estimate: 96h
>
> when i getting started ozone by the Ozone cluster in Local Node,
> link:[https://ozone.apache.org/docs/1.3.0/start/runningviadocker.html]
> i start to execute shell command in the datanode:
> bash-4.2$ ozone sh key put /vol1/bucket1/key1 /tmp/myfile
> INTERNAL_ERROR Allocated 0 blocks. Requested 1 blocks
> *{color:#FF0000}it's return error:{color}*
> *{color:#FF0000}INTERNAL_ERROR Allocated 0 blocks. Requested 1 blocks{color}*
>
> since i could create the volume and bucket success, but couldn't create one
> key! i also try to create one key as the document:
> [https://ozone.apache.org/docs/1.2.1/interface/javaapi.html]
>
> it also return the same exception:
> !image-2023-03-16-19-29-56-001.png|width=950,height=176!
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]