[
https://issues.apache.org/jira/browse/PHOENIX-6494?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Future.Zhang updated PHOENIX-6494:
----------------------------------
Description:
I have a table named “TEST1”, it contain 30 record.
I use SpringJDBC to connect phoenix.
My Java code like below
{code:java}
//代码占位符
//First, Delete all data
phoenixJdbcTemplate.execute("DELETE FROM TEST1");
//Second, use alibaba datax to sync data (30 record) into "TEST1" table.
JavaRemoteShell.execute("python /opt/data/bin/datax sync_data.json");
{code}
after, i query 'TEST1' table, it only 19 record into the table.
Is it a phoenix bug?
was:
I have a table named “TEST1”, it contain 30 record.
I use SpringJDBC to connect phoenix.
My Java code like below
{code:java}
//代码占位符
//First, Delete all data
phoenixJdbcTemplate.execute("DELETE FROM TEST1");
//Second, use alibaba datax to sync data (30 record) into "TEST1" table.
JavaRemoteShell.execute("python /opt/data/bin/datax sync_data.json");
{code}
after, i query 'TEST1' table, it only 19 record into the table.
> Delete data and insert immediately cause the data inconsistently
> ----------------------------------------------------------------
>
> Key: PHOENIX-6494
> URL: https://issues.apache.org/jira/browse/PHOENIX-6494
> Project: Phoenix
> Issue Type: Bug
> Components: core
> Affects Versions: 5.1.1
> Environment: Phoenix 5.1.1
> Hbase 2.3.5
> Hadoop 2.10.1
> Reporter: Future.Zhang
> Priority: Major
>
> I have a table named “TEST1”, it contain 30 record.
> I use SpringJDBC to connect phoenix.
>
> My Java code like below
> {code:java}
> //代码占位符
> //First, Delete all data
> phoenixJdbcTemplate.execute("DELETE FROM TEST1");
> //Second, use alibaba datax to sync data (30 record) into "TEST1" table.
> JavaRemoteShell.execute("python /opt/data/bin/datax sync_data.json");
> {code}
> after, i query 'TEST1' table, it only 19 record into the table.
>
> Is it a phoenix bug?
--
This message was sent by Atlassian Jira
(v8.3.4#803005)