Hi ,


I followed the instructions in
https://docs.hortonworks.com/HDPDocuments/HCP1/HCP-1.3.0/bk_installation/content/installing_rest_app.html
to set up the metron rest db . I have used the profile as dev. But whenever
I restart the metron rest , I am getting the below error.



Caused by: org.springframework.dao.DuplicateKeyException:
PreparedStatementCallback; SQL [insert into users (username, password,
enabled) values (?,?,?)Duplicate entry 'user' for key 'PRIMARY'; nested
exception is com.mysql.jdbc.excepti$

        at
org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:242)
~[metron-rest-0.7.1.jar:?]



I deleted the schema and recreated again as mentioned in the link above.
How can we disable the users being inserted every time during metron rest
start up .





Thanks ,

Hema

Reply via email to