You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2021/10/29 03:41:02 UTC

[GitHub] [dolphinscheduler] github-actions[bot] commented on issue #6633: Another error that failed to create a tenant

github-actions[bot] commented on issue #6633:
URL: https://github.com/apache/dolphinscheduler/issues/6633#issuecomment-954404782


   ### Search before asking
   
   -[X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### What happened
   
   Failed to create tenant for the first time after installation
   But the problem encountered is that it seems to be different from the error reported by others
   My error is
   org.apache.dophinscheduler.api.exceptions.ApiExceptionHandler:[45]-User creation error
   org.apache.hadoop.sf.FileAlreadyExistsException: Path is a file /dophinscheduler/ss/resources
   Actually I chose NONE mode, not s3 or hdfs
   
   ### What you expected to happen
   
   I hope you don't report an error
   
   ### How to reproduce
   
   The file is configured after installation
   I don't know if there is a problem with the configuration file
   #
   # Licensed to the Apache Software Foundation (ASF) under one or more
   # contributor license agreements. See the NOTICE file distributed with
   # this work for additional information regarding copyright ownership.
   # The ASF licenses this file to You under the Apache License, Version 2.0
   # (the "License"); you may not use this file except in compliance with
   # the License. You may obtain a copy of the License at
   #
   # http://www.apache.org/licenses/LICENSE-2.0
   #
   # Unless required by applicable law or agreed to in writing, software
   # distributed under the License is distributed on an "AS IS" BASIS,
   # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   # See the License for the specific language governing permissions and
   # limitations under the License.
   #
   
   
   # NOTICE: If the following config has special characters in the variable `.*[]^${}\+?|()@#&`, Please escape, for example, `[` escape to `\[`
   # postgresql or mysql
   dbtype="mysql"
   
   # db config
   # db address and port
   dbhost="10.10.159.14:3330"
   
   # db username
   username="root"
   
   # database name
   dbname="dolphinscheduler"
   
   # db passwprd
   # NOTICE: if there are special characters, please use the \ to escape, for example, `[` escape to `\[`
   password="xxxx_123456"
   
   # zk cluster
   zkQuorum="10.10.159.95:2181"
   
   # Note: the target installation path for dolphinscheduler, please not config as the same as the current path (pwd)
   installPath="/dolphinscheduler"
   
   # deployment user
   # Note: the deployment user needs to have sudo privileges and permissions to operate hdfs. If hdfs is enabled, the root directory needs to be created by itself
   deployUser="dolphinscheduler"
   
   
   # alert config
   # mail server host
   mailServerHost="smtp.exmail.qq.com"
   
   # mail server port
   # note: Different protocols and encryption methods correspond to different ports, when SSL/TLS is enabled, make sure the port is correct.
   mailServerPort="25"
   
   # sender
   mailSender="xxxxxxxxxx"
   
   # user
   mailUser="xxxxxxxxxx"
   
   # sender password
   # note: The mail.passwd is email service authorization code, not the email login password.
   mailPassword="xxxxxxxxxx"
   
   # TLS mail protocol support
   starttlsEnable="true"
   
   # SSL mail protocol support
   # only one of TLS and SSL can be in the true state.
   sslEnable="false"
   
   #note: sslTrust is the same as mailServerHost
   sslTrust="smtp.exmail.qq.com"
   
   
   # resource storage type: HDFS,S3,NONE
   resourceStorageType="S3"
   
   # if resourceStorageType is HDFS, defaultFS write namenode address, HA you need to put core-site.xml and hdfs-site.xml in the conf directory.
   # if S3, write S3 address, HA, for example: s3a://dolphinscheduler,
   # Note, s3 be sure to create the root directory /dolphinscheduler
   defaultFS="s3a://dsfile"
   
   # if resourceStorageType is S3, the following three configuration is required, otherwise please ignore
   s3Endpoint="http://10.10.159.95:9002"
   s3AccessKey="4FN93MYINENFAEAJKEJ3"
   s3SecretKey="vMf+w+vRNuSJidASnmcLPNB4+7EYCToqvDnPOFkW"
   
   # if resourcemanager HA enable, please type the HA ips; if resourcemanager is single, make this value empty
   yarnHaIps="192.168.xx.xx,192.168.xx.xx"
   
   # if resourcemanager HA enable or not use resourcemanager, please skip this value setting; If resourcemanager is single, you only need to replace yarnIp1 to actual resourcemanager hostname.
   singleYarnIp="yarnIp1"
   
   # resource store on HDFS/S3 path, resource file will store to this hadoop hdfs path, self configuration, please make sure the directory exists on hdfs and have read write permissions. /dolphinscheduler is recommended
   resourceUploadPath="/dolphinscheduler"
   
   # who have permissions to create directory under HDFS/S3 root path
   # Note: if kerberos is enabled, please config hdfsRootUser=
   hdfsRootUser="dolphinscheduler"
   
   # kerberos config
   # whether kerberos starts, if kerberos starts, following four items need to config, otherwise please ignore
   kerberosStartUp="true"
   # kdc krb5 config file path
   krb5ConfPath="$installPath/conf/krb5.conf"
   # keytab username
   keytabUserName="hdfs-mycluster@ESZ.COM"
   # username keytab path
   keytabPath="$installPath/conf/hdfs.headless.keytab"
   
   
   # api server port
   apiServerPort="12345"
   
   
   # install hosts
   # Note: install the scheduled hostname list. If it is pseudo-distributed, just write a pseudo-distributed hostname
   ips="10.10.159.95"
   
   # ssh port, default 22
   # Note: if ssh port is not default, modify here
   sshPort="22"
   
   # run master machine
   # Note: list of hosts hostname for deploying master
   masters="10.10.159.95"
   
   # run worker machine
   # note: need to write the worker group name of each worker, the default value is "default"
   workers="10.10.159.95:default"
   
   # run alert machine
   # note: list of machine hostnames for deploying alert server
   alertServer="10.10.159.95"
   
   # run api machine
   # note: list of machine hostnames for deploying api server
   apiServers="10.10.159.95"
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit PR?
   
   -[X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   -[X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org