welcome6688 commented on issue #2511:
URL: https://github.com/apache/skywalking/issues/2511#issuecomment-618978111


   I have a question about agent. Agent sends OSUtil information to 
server,result in table field error of server.Because there are too many IPv4 
addresses obtained on the agent machine, the table fields of the server cannot 
be placed. Agent is in K8s. Server is oap-es-7.
   `2020-04-24 19:23:04 Caused by: org.h2.jdbc.JdbcSQLException: Value too long 
for column "PROPERTIES VARCHAR(2000) SELECTIVITY 51": 
"'{""os_name"":""Linux"",""host_name"":""rd-dev-hrsscnd04"",""process_no"":""1"",""language"":""java"",""ipv4s"":""[\""172.0.4.1\"",\""172.0.4.0\"",\""10...
 (2003)"; SQL statement:
   2020-04-24 19:23:04 INSERT INTO service_instance_inventory VALUES
   2020-04-24 19:23:04 (?,?,?,?,?,?,?,?,?,?,?,?,?) [22001-196]
   2020-04-24 19:23:04  at 
org.h2.message.DbException.getJdbcSQLException(DbException.java:345) 
~[h2-1.4.196.jar:1.4.196]
   2020-04-24 19:23:04  at org.h2.message.DbException.get(DbException.java:179) 
~[h2-1.4.196.jar:1.4.196]
   2020-04-24 19:23:04  at 
org.h2.table.Column.validateConvertUpdateSequence(Column.java:369) 
~[h2-1.4.196.jar:1.4.196]
   2020-04-24 19:23:04  at 
org.h2.table.Table.validateConvertUpdateSequence(Table.java:797) 
~[h2-1.4.196.jar:1.4.196]
   2020-04-24 19:23:04  at 
org.h2.command.dml.Insert.insertRows(Insert.java:151) ~[h2-1.4.196.jar:1.4.196]
   2020-04-24 19:23:04  at org.h2.command.dml.Insert.update(Insert.java:114) 
~[h2-1.4.196.jar:1.4.196]
   2020-04-24 19:23:04  at 
org.h2.command.CommandContainer.update(CommandContainer.java:101) 
~[h2-1.4.196.jar:1.4.196]
   2020-04-24 19:23:04  at 
org.h2.command.Command.executeUpdate(Command.java:260) ~[h2-1.4.196.jar:1.4.196]
   2020-04-24 19:23:04  at 
org.h2.jdbc.JdbcPreparedStatement.execute(JdbcPreparedStatement.java:207) 
~[h2-1.4.196.jar:1.4.196]
   2020-04-24 19:23:04  at 
com.zaxxer.hikari.pool.ProxyPreparedStatement.execute(ProxyPreparedStatement.java:44)
 ~[HikariCP-3.1.0.jar:?]
   2020-04-24 19:23:04  at 
com.zaxxer.hikari.pool.HikariProxyPreparedStatement.execute(HikariProxyPreparedStatement.java)
 ~[HikariCP-3.1.0.jar:?]
   2020-04-24 19:23:04  at 
org.apache.skywalking.oap.server.storage.plugin.jdbc.SQLExecutor.invoke(SQLExecutor.java:53)
 ~[storage-jdbc-hikaricp-plugin-7.0.0.jar:7.0.0]
   2020-04-24 19:23:04  at 
org.apache.skywalking.oap.server.storage.plugin.jdbc.h2.dao.H2RegisterDAO.forceInsert(H2RegisterDAO.java:52)
 ~[storage-jdbc-hikaricp-plugin-7.0.0.jar:7.0.0]
   2020-04-24 19:23:04  ... 7 more`


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to