*{{$t('User Name')}}
@@ -143,6 +154,8 @@
port: '',
// data storage name
database: '',
+ // principal
+ principal:'',
// database username
userName: '',
// Database password
@@ -150,12 +163,15 @@
// Jdbc connection parameter
other: '',
// btn test loading
- testLoading: false
+ testLoading: false,
+ showPrincipal: true,
+ isShowPrincipal:true
}
},
props: {
item: Object
},
+
methods: {
_rtOtherPlaceholder () {
return `${i18n.$t('Please enter format')} {"key1":"value1","key2":"value2"...} ${i18n.$t('connection parameter')}`
@@ -187,6 +203,7 @@
host: this.host,
port: this.port,
database: this.database,
+ principal:this.principal,
userName: this.userName,
password: this.password,
other: this.other
@@ -289,6 +306,7 @@
this.note = res.note
this.host = res.host
this.port = res.port
+ this.principal = res.principal
this.database = res.database
this.userName = res.userName
this.password = res.password
@@ -298,12 +316,31 @@
})
}
},
- watch: {},
+ watch: {
+ 'type'(value){
+ if((value =='HIVE'||value == 'SPARK')&&this.isShowPrincipal== true){
+ this.showPrincipal = false
+ }else{
+ this.showPrincipal = true
+ }
+ }
+ },
created () {
// Backfill
if (this.item.id) {
this._getEditDatasource()
}
+
+ return new Promise((resolve, reject) => {
+ this.store.dispatch('datasource/getKerberosStartupState').then(res => {
+ this.isShowPrincipal=res
+ }).catch(e => {
+ this.$message.error(e.msg || '')
+ reject(e)
+ })
+ })
+
+
},
mounted () {
},
diff --git a/escheduler-ui/src/js/conf/home/pages/datasource/pages/list/_source/list.vue b/escheduler-ui/src/js/conf/home/pages/datasource/pages/list/_source/list.vue
index b32aeeb6bc..a08051bc35 100644
--- a/escheduler-ui/src/js/conf/home/pages/datasource/pages/list/_source/list.vue
+++ b/escheduler-ui/src/js/conf/home/pages/datasource/pages/list/_source/list.vue
@@ -56,7 +56,6 @@
shape="circle"
size="xsmall"
data-toggle="tooltip"
- v-ps="['GENERAL_USER']"
:title="$t('Edit')"
icon="iconfont icon-bianjixiugai"
@click="_edit(item)">
@@ -77,8 +76,7 @@
size="xsmall"
icon="iconfont icon-shanchu"
data-toggle="tooltip"
- :title="$t('delete')"
- v-ps="['GENERAL_USER']">
+ :title="$t('delete')">
diff --git a/escheduler-ui/src/js/conf/home/pages/datasource/pages/list/index.vue b/escheduler-ui/src/js/conf/home/pages/datasource/pages/list/index.vue
index de94e0ee21..8d5012700f 100644
--- a/escheduler-ui/src/js/conf/home/pages/datasource/pages/list/index.vue
+++ b/escheduler-ui/src/js/conf/home/pages/datasource/pages/list/index.vue
@@ -3,7 +3,7 @@
- {{$t('Create Datasource')}}
+ {{$t('Create Datasource')}}
diff --git a/escheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/_source/list.vue b/escheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/_source/list.vue
index aa2be8ef8e..f9e8dba231 100644
--- a/escheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/_source/list.vue
+++ b/escheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/_source/list.vue
@@ -58,12 +58,12 @@
-
-
-
-
-
-
-
+
+
+
+
+
+
+ :title="$t('delete')">
diff --git a/escheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/_source/start.vue b/escheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/_source/start.vue
index ddb6b0a156..c2e3c33728 100644
--- a/escheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/_source/start.vue
+++ b/escheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/_source/start.vue
@@ -137,7 +137,7 @@
{{$t('Cancel')}}
- {{spinnerLoading ? 'Loading...' : $t('Start')}}
+ {{spinnerLoading ? 'Loading...' : $t('Start')}}
diff --git a/escheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/index.vue b/escheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/index.vue
index bc63896c17..bf8612dd98 100644
--- a/escheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/index.vue
+++ b/escheduler-ui/src/js/conf/home/pages/projects/pages/definition/pages/list/index.vue
@@ -3,7 +3,7 @@
- this.$router.push({name: 'definition-create'})">{{$t('Create process')}}
+ this.$router.push({name: 'definition-create'})">{{$t('Create process')}}
diff --git a/escheduler-ui/src/js/conf/home/pages/projects/pages/instance/pages/list/_source/list.vue b/escheduler-ui/src/js/conf/home/pages/projects/pages/instance/pages/list/_source/list.vue
index f98383c558..2bc1cad066 100644
--- a/escheduler-ui/src/js/conf/home/pages/projects/pages/instance/pages/list/_source/list.vue
+++ b/escheduler-ui/src/js/conf/home/pages/projects/pages/instance/pages/list/_source/list.vue
@@ -73,7 +73,6 @@
data-toggle="tooltip"
:title="$t('Edit')"
@click="_reEdit(item)"
- v-ps="['GENERAL_USER']"
icon="iconfont icon-bianjixiugai"
:disabled="item.state !== 'SUCCESS' && item.state !== 'PAUSE' && item.state !== 'FAILURE' && item.state !== 'STOP'">
+ :title="$t('delete')">
diff --git a/escheduler-ui/src/js/conf/home/pages/projects/pages/list/_source/list.vue b/escheduler-ui/src/js/conf/home/pages/projects/pages/list/_source/list.vue
index 087b50032a..21a58fc1ea 100644
--- a/escheduler-ui/src/js/conf/home/pages/projects/pages/list/_source/list.vue
+++ b/escheduler-ui/src/js/conf/home/pages/projects/pages/list/_source/list.vue
@@ -63,8 +63,7 @@
data-toggle="tooltip"
:title="$t('Edit')"
@click="_edit(item)"
- icon="iconfont icon-bianjixiugai"
- v-ps="['GENERAL_USER']">
+ icon="iconfont icon-bianjixiugai">
+ icon="iconfont icon-shanchu">
diff --git a/escheduler-ui/src/js/conf/home/pages/projects/pages/list/index.vue b/escheduler-ui/src/js/conf/home/pages/projects/pages/list/index.vue
index 6031b590e0..7b2f555192 100644
--- a/escheduler-ui/src/js/conf/home/pages/projects/pages/list/index.vue
+++ b/escheduler-ui/src/js/conf/home/pages/projects/pages/list/index.vue
@@ -3,7 +3,7 @@
- {{$t('Create Project')}}
+ {{$t('Create Project')}}
@@ -113,4 +113,4 @@
},
components: { mListConstruction, mSpin, mConditions, mList, mCreateProject, mNoData }
}
-
\ No newline at end of file
+
diff --git a/escheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/create/index.vue b/escheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/create/index.vue
index d08ed7f8dd..bf3ebe044d 100644
--- a/escheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/create/index.vue
+++ b/escheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/create/index.vue
@@ -49,7 +49,7 @@
- {{spinnerLoading ? 'Loading...' : $t('Create')}}
+ {{spinnerLoading ? 'Loading...' : $t('Create')}}
$router.push({name: 'file'})"> {{$t('Cancel')}}
diff --git a/escheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/list/_source/list.vue b/escheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/list/_source/list.vue
index 40c03ff7a0..89acc74dd6 100644
--- a/escheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/list/_source/list.vue
+++ b/escheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/list/_source/list.vue
@@ -51,8 +51,7 @@
:title="$t('Edit')"
:disabled="_rtDisb(item)"
@click="_edit(item,$index)"
- icon="iconfont icon-bianjixiugai"
- v-ps="['GENERAL_USER']">
+ icon="iconfont icon-bianjixiugai">
+ @click="_rename(item,$index)">
+ icon="iconfont icon-download">
+ :title="$t('delete')">
@@ -210,4 +206,4 @@
},
components: { }
}
-
\ No newline at end of file
+
diff --git a/escheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/list/index.vue b/escheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/list/index.vue
index 6555d7a6d4..7434772899 100644
--- a/escheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/list/index.vue
+++ b/escheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/list/index.vue
@@ -4,8 +4,8 @@
- $router.push({name: 'resource-file-create'})" v-ps="['GENERAL_USER']">{{$t('Create File')}}
- {{$t('Upload Files')}}
+ $router.push({name: 'resource-file-create'})">{{$t('Create File')}}
+ {{$t('Upload Files')}}
@@ -98,4 +98,4 @@
},
components: { mListConstruction, mConditions, mList, mSpin, mNoData }
}
-
\ No newline at end of file
+
diff --git a/escheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/function/_source/list.vue b/escheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/function/_source/list.vue
index 8d96ede359..ad0c510c87 100644
--- a/escheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/function/_source/list.vue
+++ b/escheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/function/_source/list.vue
@@ -1,4 +1,4 @@
-
+v-ps
@@ -70,8 +70,7 @@
data-toggle="tooltip"
:title="$t('Edit')"
@click="_edit(item)"
- icon="iconfont icon-bianjixiugai"
- v-ps="['GENERAL_USER']">
+ icon="iconfont icon-bianjixiugai">
+ :title="$t('delete')">
diff --git a/escheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/function/index.vue b/escheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/function/index.vue
index 84a79be603..9ce2373292 100644
--- a/escheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/function/index.vue
+++ b/escheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/function/index.vue
@@ -3,7 +3,7 @@
- {{$t('Create UDF Function')}}
+ {{$t('Create UDF Function')}}
diff --git a/escheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/resource/_source/list.vue b/escheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/resource/_source/list.vue
index 672f8b5226..4077f13bc0 100644
--- a/escheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/resource/_source/list.vue
+++ b/escheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/resource/_source/list.vue
@@ -58,8 +58,7 @@
icon="iconfont icon-wendangxiugai"
data-toggle="tooltip"
:title="$t('Rename')"
- @click="_rename(item,$index)"
- v-ps="['GENERAL_USER']">
+ @click="_rename(item,$index)">
+ @click="_downloadFile(item)">
+ icon="iconfont icon-shanchu">
diff --git a/escheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/resource/index.vue b/escheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/resource/index.vue
index ed9a81a705..228501dbed 100644
--- a/escheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/resource/index.vue
+++ b/escheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/resource/index.vue
@@ -3,7 +3,7 @@
- {{$t('Upload UDF Resources')}}
+ {{$t('Upload UDF Resources')}}
diff --git a/escheduler-ui/src/js/conf/home/pages/security/pages/users/_source/createUser.vue b/escheduler-ui/src/js/conf/home/pages/security/pages/users/_source/createUser.vue
index 9d3ab042d8..b02db7848e 100644
--- a/escheduler-ui/src/js/conf/home/pages/security/pages/users/_source/createUser.vue
+++ b/escheduler-ui/src/js/conf/home/pages/security/pages/users/_source/createUser.vue
@@ -98,7 +98,9 @@
userName: '',
userPassword: '',
tenantId: {},
- queueName: {},
+ queueName: {
+ id:''
+ },
email: '',
phone: '',
tenantList: [],
@@ -197,6 +199,7 @@
},
_submit () {
this.$refs['popup'].spinnerLoading = true
+ console.log(this.tenantId.id)
let param = {
userName: this.userName,
userPassword: this.userPassword,
@@ -205,9 +208,11 @@
queue: this.queueName.code,
phone: this.phone
}
+
if (this.item) {
param.id = this.item.id
}
+
this.store.dispatch(`security/${this.item ? 'updateUser' : 'createUser'}`, param).then(res => {
setTimeout(() => {
this.$refs['popup'].spinnerLoading = false
@@ -232,7 +237,7 @@
this.phone = this.item.phone
this.tenantId = _.find(this.tenantList, ['id', this.item.tenantId])
this.$nextTick(() => {
- this.queueName = _.find(this.queueList, ['code', this.item.queue])
+ this.queueName = _.find(this.queueList, ['code', this.item.queue])||{id:''}
})
}
})
@@ -243,7 +248,7 @@
this.email = this.item.email
this.phone = this.item.phone
this.tenantId.id = this.item.tenantId
- this.queueName = { queue: this.item.queue }
+ this.queueName = { queue: this.item.queue}
}
}
},
diff --git a/escheduler-ui/src/js/conf/home/pages/security/pages/users/_source/list.vue b/escheduler-ui/src/js/conf/home/pages/security/pages/users/_source/list.vue
index 125a3dfd93..e97886a61b 100644
--- a/escheduler-ui/src/js/conf/home/pages/security/pages/users/_source/list.vue
+++ b/escheduler-ui/src/js/conf/home/pages/security/pages/users/_source/list.vue
@@ -9,6 +9,9 @@
{{$t('User Name')}}
|
+
+ 用户类型
+ |
{{$t('Tenant')}}
|
@@ -21,6 +24,7 @@
{{$t('Phone')}}
|
+
{{$t('Create Time')}}
|
@@ -40,6 +44,9 @@
{{item.userName || '-'}}
+
+ {{item.userType === 'GENERAL_USER' ? `${$t('Ordinary users')}` : `${$t('Administrator')}`}}
+ |
{{item.tenantName || '-'}} |
{{item.queue || '-'}} |
@@ -62,7 +69,7 @@
{{$t('UDF Function')}}
-
+
@@ -84,6 +91,7 @@
size="xsmall"
data-toggle="tooltip"
:title="$t('delete')"
+ :disabled="item.userType === 'ADMIN_USER'"
icon="iconfont icon-shanchu">
diff --git a/escheduler-ui/src/js/conf/home/store/datasource/actions.js b/escheduler-ui/src/js/conf/home/store/datasource/actions.js
index 3e409ccb8b..c54a37f706 100644
--- a/escheduler-ui/src/js/conf/home/store/datasource/actions.js
+++ b/escheduler-ui/src/js/conf/home/store/datasource/actions.js
@@ -116,5 +116,14 @@ export default {
reject(e)
})
})
+ },
+ getKerberosStartupState ({ state }, payload) {
+ return new Promise((resolve, reject) => {
+ io.get(`datasources/kerberos-startup-state`, payload, res => {
+ resolve(res.data)
+ }).catch(e => {
+ reject(e)
+ })
+ })
}
}
diff --git a/escheduler-ui/src/js/module/i18n/locale/en_US.js b/escheduler-ui/src/js/module/i18n/locale/en_US.js
index 933b6be99d..57526d5b8d 100644
--- a/escheduler-ui/src/js/module/i18n/locale/en_US.js
+++ b/escheduler-ui/src/js/module/i18n/locale/en_US.js
@@ -466,4 +466,6 @@ export default {
'Statistics manage': 'Statistics manage',
'statistics': 'statistics',
'select tenant':'select tenant',
+ 'Process Instance Running Count': 'Process Instance Running Count',
+ 'Please enter Principal':'Please enter Principal'
}
diff --git a/escheduler-ui/src/js/module/i18n/locale/zh_CN.js b/escheduler-ui/src/js/module/i18n/locale/zh_CN.js
index a5ab26dfcb..a81b9574f6 100644
--- a/escheduler-ui/src/js/module/i18n/locale/zh_CN.js
+++ b/escheduler-ui/src/js/module/i18n/locale/zh_CN.js
@@ -467,4 +467,5 @@ export default {
'Statistics manage': '统计管理',
'statistics': '统计',
'select tenant':'选择租户',
+ 'Please enter Principal':'请输入Principal'
}
diff --git a/escheduler-ui/src/js/module/mixin/disabledState.js b/escheduler-ui/src/js/module/mixin/disabledState.js
index 7c0b1f8e92..4b814a1908 100644
--- a/escheduler-ui/src/js/module/mixin/disabledState.js
+++ b/escheduler-ui/src/js/module/mixin/disabledState.js
@@ -28,11 +28,11 @@ export default {
}
},
created () {
- this.isDetails = Permissions.getAuth() ? this.store.state.dag.isDetails : true
+ this.isDetails =this.store.state.dag.isDetails// Permissions.getAuth() ? this.store.state.dag.isDetails : true
},
computed: {
_isDetails () {
- return this.isDetails ? 'icon-disabled' : ''
+ return ''// this.isDetails ? 'icon-disabled' : ''
}
}
}
diff --git a/install.sh b/install.sh
index 6fd9e83de2..a80c3198a9 100644
--- a/install.sh
+++ b/install.sh
@@ -110,14 +110,17 @@ xlsFilePath="/tmp/xls"
#是否启动监控自启动脚本
monitorServerState="false"
-# hadoop 配置
-# 是否启动hdfs,如果启动则为true,需要配置以下hadoop相关参数;
-# 不启动设置为false,如果为false,以下配置不需要修改
-# 特别注意:如果启动hdfs,需要自行创建hdfs根路径,也就是install.sh中的 hdfsPath
-hdfsStartupSate="false"
+# 资源中心上传选择存储方式:HDFS,S3,NONE
+resUploadStartupType="NONE"
-# namenode地址,支持HA,需要将core-site.xml和hdfs-site.xml放到conf目录下
-namenodeFs="hdfs://mycluster:8020"
+# 如果resUploadStartupType为HDFS,defaultFS写namenode地址,支持HA,需要将core-site.xml和hdfs-site.xml放到conf目录下
+# 如果是S3,则写S3地址,比如说:s3a://escheduler,注意,一定要创建根目录/escheduler
+defaultFS="hdfs://mycluster:8020"
+
+# 如果配置了S3,则需要有以下配置
+s3Endpoint="http://192.168.199.91:9010"
+s3AccessKey="A3DXS30FO22544RE"
+s3SecretKey="OloCLq3n+8+sdPHUhJ21XrSxTC+JK"
# resourcemanager HA配置,如果是单resourcemanager,这里为空即可
yarnHaIps="192.168.xx.xx,192.168.xx.xx"
@@ -125,9 +128,12 @@ yarnHaIps="192.168.xx.xx,192.168.xx.xx"
# 如果是单 resourcemanager,只需要配置一个主机名称,如果是resourcemanager HA,则默认配置就好
singleYarnIp="ark1"
-# hdfs根路径,根路径的owner必须是部署用户
+# hdfs根路径,根路径的owner必须是部署用户。1.1.0之前版本不会自动创建hdfs根目录,需要自行创建
hdfsPath="/escheduler"
+# 拥有在hdfs根路径/下创建目录权限的用户
+hdfsRootUser="hdfs"
+
# common 配置
# 程序路径
programPath="/tmp/escheduler"
@@ -147,6 +153,19 @@ resSuffixs="txt,log,sh,conf,cfg,py,java,sql,hql,xml"
# 开发状态,如果是true,对于SHELL脚本可以在execPath目录下查看封装后的SHELL脚本,如果是false则执行完成直接删除
devState="true"
+# kerberos 配置
+# kerberos 是否启动
+kerberosStartUp="false"
+
+# kdc krb5 配置文件路径
+krb5ConfPath="$installPath/conf/krb5.conf"
+
+# keytab 用户名
+keytabUserName="hdfs-mycluster@ESZ.COM"
+
+# 用户 keytab路径
+keytabPath="$installPath/conf/hdfs.headless.keytab"
+
# zk 配置
# zk根目录
zkRoot="/escheduler"
@@ -170,7 +189,7 @@ workersLock="/escheduler/lock/workers"
mastersFailover="/escheduler/lock/failover/masters"
# zk worker容错分布式锁
-workersFailover="/escheduler/lock/failover/masters"
+workersFailover="/escheduler/lock/failover/workers"
# zk master启动容错分布式锁
mastersStartupFailover="/escheduler/lock/failover/startup-masters"
@@ -257,18 +276,27 @@ sed -i ${txt} "s#org.quartz.dataSource.myDs.user.*#org.quartz.dataSource.myDs.us
sed -i ${txt} "s#org.quartz.dataSource.myDs.password.*#org.quartz.dataSource.myDs.password=${mysqlPassword}#g" conf/quartz.properties
-sed -i ${txt} "s#fs.defaultFS.*#fs.defaultFS=${namenodeFs}#g" conf/common/hadoop/hadoop.properties
+sed -i ${txt} "s#fs.defaultFS.*#fs.defaultFS=${defaultFS}#g" conf/common/hadoop/hadoop.properties
+sed -i ${txt} "s#fs.s3a.endpoint.*#fs.s3a.endpoint=${s3Endpoint}#g" conf/common/hadoop/hadoop.properties
+sed -i ${txt} "s#fs.s3a.access.key.*#fs.s3a.access.key=${s3AccessKey}#g" conf/common/hadoop/hadoop.properties
+sed -i ${txt} "s#fs.s3a.secret.key.*#fs.s3a.secret.key=${s3SecretKey}#g" conf/common/hadoop/hadoop.properties
sed -i ${txt} "s#yarn.resourcemanager.ha.rm.ids.*#yarn.resourcemanager.ha.rm.ids=${yarnHaIps}#g" conf/common/hadoop/hadoop.properties
sed -i ${txt} "s#yarn.application.status.address.*#yarn.application.status.address=http://${singleYarnIp}:8088/ws/v1/cluster/apps/%s#g" conf/common/hadoop/hadoop.properties
+
sed -i ${txt} "s#data.basedir.path.*#data.basedir.path=${programPath}#g" conf/common/common.properties
sed -i ${txt} "s#data.download.basedir.path.*#data.download.basedir.path=${downloadPath}#g" conf/common/common.properties
sed -i ${txt} "s#process.exec.basepath.*#process.exec.basepath=${execPath}#g" conf/common/common.properties
+sed -i ${txt} "s#hdfs.root.user.*#hdfs.root.user=${hdfsRootUser}#g" conf/common/common.properties
sed -i ${txt} "s#data.store2hdfs.basepath.*#data.store2hdfs.basepath=${hdfsPath}#g" conf/common/common.properties
-sed -i ${txt} "s#hdfs.startup.state.*#hdfs.startup.state=${hdfsStartupSate}#g" conf/common/common.properties
+sed -i ${txt} "s#res.upload.startup.type.*#res.upload.startup.type=${resUploadStartupType}#g" conf/common/common.properties
sed -i ${txt} "s#escheduler.env.path.*#escheduler.env.path=${shellEnvPath}#g" conf/common/common.properties
sed -i ${txt} "s#resource.view.suffixs.*#resource.view.suffixs=${resSuffixs}#g" conf/common/common.properties
sed -i ${txt} "s#development.state.*#development.state=${devState}#g" conf/common/common.properties
+sed -i ${txt} "s#hadoop.security.authentication.startup.state.*#hadoop.security.authentication.startup.state=${kerberosStartUp}#g" conf/common/common.properties
+sed -i ${txt} "s#java.security.krb5.conf.path.*#java.security.krb5.conf.path=${krb5ConfPath}#g" conf/common/common.properties
+sed -i ${txt} "s#login.user.keytab.username.*#login.user.keytab.username=${keytabUserName}#g" conf/common/common.properties
+sed -i ${txt} "s#login.user.keytab.path.*#login.user.keytab.path=${keytabPath}#g" conf/common/common.properties
sed -i ${txt} "s#zookeeper.quorum.*#zookeeper.quorum=${zkQuorum}#g" conf/zookeeper.properties
sed -i ${txt} "s#zookeeper.escheduler.root.*#zookeeper.escheduler.root=${zkRoot}#g" conf/zookeeper.properties
diff --git a/pom.xml b/pom.xml
index e993636be4..e4186d9b81 100644
--- a/pom.xml
+++ b/pom.xml
@@ -3,7 +3,7 @@
4.0.0
cn.analysys
escheduler
- 1.0.3-SNAPSHOT
+ 1.0.4-SNAPSHOT
pom
escheduler
http://maven.apache.org
diff --git a/sql/create/release-1.0.0_schema/mysql/escheduler_dml.sql b/sql/create/release-1.0.0_schema/mysql/escheduler_dml.sql
index b7f25d76e1..b075475270 100644
--- a/sql/create/release-1.0.0_schema/mysql/escheduler_dml.sql
+++ b/sql/create/release-1.0.0_schema/mysql/escheduler_dml.sql
@@ -1,5 +1,5 @@
-- Records of t_escheduler_user,user : admin , password : escheduler123
-INSERT INTO `t_escheduler_user` VALUES ('1', 'admin', '055a97b5fcd6d120372ad1976518f371', '0', '825193156@qq.com', '15001335629', '0', '2018-03-27 15:48:50', '2018-10-24 17:40:22');
+INSERT INTO `t_escheduler_user` VALUES ('1', 'admin', '055a97b5fcd6d120372ad1976518f371', '0', 'xxx@qq.com', 'xx', '0', '2018-03-27 15:48:50', '2018-10-24 17:40:22');
INSERT INTO `t_escheduler_alertgroup` VALUES (1, 'escheduler管理员告警组', '0', 'escheduler管理员告警组','2018-11-29 10:20:39', '2018-11-29 10:20:39');
INSERT INTO `t_escheduler_relation_user_alertgroup` VALUES ('1', '1', '1', '2018-11-29 10:22:33', '2018-11-29 10:22:33');
diff --git a/sql/soft_version b/sql/soft_version
index e6d5cb833c..a6a3a43c3a 100644
--- a/sql/soft_version
+++ b/sql/soft_version
@@ -1 +1 @@
-1.0.2
\ No newline at end of file
+1.0.4
\ No newline at end of file
| |