Hi,

Do you have running OM pod? Can you use the cluster?

for example with this:

kubectl exec -it scm-0
ozone sh volume create /vol1


Marton


On 3/8/21 10:08 AM, Elek, Marton wrote:

(Forwarding from issues@)

Hi,
I am having issues with running on kubernetes cluster using the kubernetes/examples/ozone references. I tried both the 1.0.0 released build and latest build from the main branch.  The latest error I am receiving is the one below from the csi-node. Am I missing some config setting for ozone-site.xml?

2021-03-02 20:01:26 WARN  NativeCodeLoader:60 - Unable to load native-hadoop library for your platform... using builtin-java classes where applicable 2021-03-02 20:01:26 WARN  OMProxyInfo:48 - OzoneManager address om-0:9862 for serviceID null remains unresolved for node ID null Check your ozone-site.xml file to ensure ozone manager addresses are configured properly. 2021-03-02 20:01:29 INFO  RetryInvocationHandler:411 - com.google.protobuf.ServiceException: java.net.UnknownHostException: Invalid host name: local host is: (unknown); destination host is: "om-0":9862; java.net.UnknownHostException; For more details see: http://wiki.apache.org/hadoop/UnknownHost, while invoking $Proxy15.submitRequest over nodeId=null,nodeAddress=om-0:9862 after 1 failover attempts. Trying to failover after sleeping for 4000ms.


My configmap:

apiVersion: v1
kind: ConfigMap
metadata:
   name: config
data:
   OZONE-SITE.XML_hdds.datanode.dir: /data/storage
   OZONE-SITE.XML_ozone.scm.datanode.id.dir: /data
   OZONE-SITE.XML_ozone.metadata.dirs: /data/metadata
   OZONE-SITE.XML_ozone.scm.block.client.address: scm-0.scm
   OZONE-SITE.XML_ozone.om.address: om-0.om
   OZONE-SITE.XML_ozone.scm.client.address: scm-0.scm
   OZONE-SITE.XML_ozone.scm.names: scm-0.scm
   OZONE-SITE.XML_hdds.scm.safemode.min.datanode: "3"
   LOG4J.PROPERTIES_log4j.rootLogger: INFO, stdout
   LOG4J.PROPERTIES_log4j.appender.stdout: org.apache.log4j.ConsoleAppender
  LOG4J.PROPERTIES_log4j.appender.stdout.layout: org.apache.log4j.PatternLayout   LOG4J.PROPERTIES_log4j.appender.stdout.layout.ConversionPattern: '%d{yyyy-MM-dd
     HH:mm:ss} %-5p %c{1}:%L - %m%n'
   OZONE-SITE.XML_ozone.csi.s3g.address: http://s3g-0.s3g:9878
   OZONE-SITE.XML_ozone.csi.socket: /var/lib/csi/csi.sock
   OZONE-SITE.XML_ozone.csi.owner: hadoop

  CORE-SITE.XML_fs.ofs.impl: org.apache.hadoop.fs.ozone.RootedOzoneFileSystem
   CORE-SITE.XML_fs.o3fs.impl: org.apache.hadoop.fs.ozone.OzoneFileSystem
   CORE-SITE.XML_fs.trash.interval: "1"
   CORE-SITE.XML_fs.defaultFS: ofs://om-0.om

   OZONE-SITE.XML_ozone.security.enabled: "false"
   OZONE-SITE.XML_hdds.scm.safemode.min.datanode: "3"
   OZONE-SITE.XML_ozone.om.http-address: om-0:9874
   OZONE-SITE.XML_ozone.replication: "3"



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@ozone.apache.org
For additional commands, e-mail: dev-h...@ozone.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@ozone.apache.org
For additional commands, e-mail: dev-h...@ozone.apache.org

Reply via email to