GitHub user iamShantanu101 opened an issue:

    https://github.com/apache/incubator-predictionio/issues/317

    FATAL:  role "pio" does not exist

    Getting the below message when I tried pio app new tapster. This is related 
to postgres I guess. 
    FATAL : role "pio" does not exist
    
    Exception in thread "main" org.postgresql.util.PSQLException: FATAL: role 
"pio" does not exist
        at 
org.postgresql.core.v3.ConnectionFactoryImpl.readStartupMessages(ConnectionFactoryImpl.java:691)
        at 
org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:207)
        at 
org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:65)
        at 
org.postgresql.jdbc2.AbstractJdbc2Connection.<init>(AbstractJdbc2Connection.java:156)
        at 
org.postgresql.jdbc3.AbstractJdbc3Connection.<init>(AbstractJdbc3Connection.java:35)
        at 
org.postgresql.jdbc3g.AbstractJdbc3gConnection.<init>(AbstractJdbc3gConnection.java:22)
        at 
org.postgresql.jdbc4.AbstractJdbc4Connection.<init>(AbstractJdbc4Connection.java:47)
        at org.postgresql.jdbc4.Jdbc4Connection.<init>(Jdbc4Connection.java:30)
        at org.postgresql.Driver.makeConnection(Driver.java:414)
        at org.postgresql.Driver.connect(Driver.java:282)
        at java.sql.DriverManager.getConnection(DriverManager.java:664)
        at java.sql.DriverManager.getConnection(DriverManager.java:247)
        at 
org.apache.commons.dbcp2.DriverManagerConnectionFactory.createConnection(DriverManagerConnectionFactory.java:77)
        at 
org.apache.commons.dbcp2.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:256)
        at 
org.apache.commons.pool2.impl.GenericObjectPool.create(GenericObjectPool.java:868)
        at 
org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:435)
        at 
org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:363)
        at 
org.apache.commons.dbcp2.PoolingDataSource.getConnection(PoolingDataSource.java:134)
        at 
scalikejdbc.Commons2ConnectionPool.borrow(Commons2ConnectionPool.scala:41)
        at scalikejdbc.DB$.autoCommit(DB.scala:214)
        at io.prediction.data.storage.jdbc.JDBCApps.<init>(JDBCApps.scala:29)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
        at io.prediction.data.storage.Storage$.getDataObject(Storage.scala:303)
        at 
io.prediction.data.storage.Storage$.getDataObjectFromRepo(Storage.scala:263)
        at 
io.prediction.data.storage.Storage$.getMetaDataApps(Storage.scala:370)
        at io.prediction.tools.console.App$.create(App.scala:33)
        at 
io.prediction.tools.console.Console$$anonfun$main$1.apply(Console.scala:739)
        at 
io.prediction.tools.console.Console$$anonfun$main$1.apply(Console.scala:693)
        at scala.Option.map(Option.scala:145)
        at io.prediction.tools.console.Console$.main(Console.scala:693)
        at io.prediction.tools.console.Console.main(Console.scala)


----

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to