[jira] [Updated] (HIVE-19137) orcfiledump doesn't print hive.acid.version value
[ https://issues.apache.org/jira/browse/HIVE-19137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eugene Koifman updated HIVE-19137: -- Resolution: Fixed Fix Version/s: 3.0.0 Release Note: n/a Status: Resolved (was: Patch Available) committed to branch-3/master thanks Igor for the contribution > orcfiledump doesn't print hive.acid.version value > - > > Key: HIVE-19137 > URL: https://issues.apache.org/jira/browse/HIVE-19137 > Project: Hive > Issue Type: Bug > Components: Transactions >Affects Versions: 3.0.0 >Reporter: Eugene Koifman >Assignee: Igor Kryvenko >Priority: Major > Fix For: 3.0.0 > > Attachments: HIVE-19137-branch-3.01.patch, HIVE-19137.01.patch, > HIVE-19137.02-branch-3.patch, HIVE-19137.02.patch, > HIVE-19137.03-branch-3.patch, HIVE-19137.03.patch, HIVE-19137.04.patch, > HIVE-19137.05.patch > > > HIVE-18659 added hive.acid.version in the file footer. > orcfiledump prints something like > {noformat} > User Metadata: > hive.acid.key.index=1,536870912,1; > hive.acid.stats=2,0,0 > hive.acid.version= > {noformat} > probably because > {noformat} > public static void setAcidVersionInDataFile(Writer writer) { > //so that we know which version wrote the file > ByteBuffer bf = ByteBuffer.allocate(4).putInt(ORC_ACID_VERSION); > bf.rewind(); //don't ask - some ByteBuffer weridness. w/o this, empty > buffer is written > writer.addUserMetadata(ACID_VERSION_KEY, bf); > } > {noformat} > use > {{UTF8.encode())}} instead -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (HIVE-19137) orcfiledump doesn't print hive.acid.version value
[ https://issues.apache.org/jira/browse/HIVE-19137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Igor Kryvenko updated HIVE-19137: - Attachment: HIVE-19137.03-branch-3.patch > orcfiledump doesn't print hive.acid.version value > - > > Key: HIVE-19137 > URL: https://issues.apache.org/jira/browse/HIVE-19137 > Project: Hive > Issue Type: Bug > Components: Transactions >Affects Versions: 3.0.0 >Reporter: Eugene Koifman >Assignee: Igor Kryvenko >Priority: Major > Attachments: HIVE-19137-branch-3.01.patch, HIVE-19137.01.patch, > HIVE-19137.02-branch-3.patch, HIVE-19137.02.patch, > HIVE-19137.03-branch-3.patch, HIVE-19137.03.patch, HIVE-19137.04.patch, > HIVE-19137.05.patch > > > HIVE-18659 added hive.acid.version in the file footer. > orcfiledump prints something like > {noformat} > User Metadata: > hive.acid.key.index=1,536870912,1; > hive.acid.stats=2,0,0 > hive.acid.version= > {noformat} > probably because > {noformat} > public static void setAcidVersionInDataFile(Writer writer) { > //so that we know which version wrote the file > ByteBuffer bf = ByteBuffer.allocate(4).putInt(ORC_ACID_VERSION); > bf.rewind(); //don't ask - some ByteBuffer weridness. w/o this, empty > buffer is written > writer.addUserMetadata(ACID_VERSION_KEY, bf); > } > {noformat} > use > {{UTF8.encode())}} instead -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (HIVE-19137) orcfiledump doesn't print hive.acid.version value
[ https://issues.apache.org/jira/browse/HIVE-19137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Igor Kryvenko updated HIVE-19137: - Attachment: HIVE-19137.05.patch > orcfiledump doesn't print hive.acid.version value > - > > Key: HIVE-19137 > URL: https://issues.apache.org/jira/browse/HIVE-19137 > Project: Hive > Issue Type: Bug > Components: Transactions >Affects Versions: 3.0.0 >Reporter: Eugene Koifman >Assignee: Igor Kryvenko >Priority: Major > Attachments: HIVE-19137-branch-3.01.patch, HIVE-19137.01.patch, > HIVE-19137.02-branch-3.patch, HIVE-19137.02.patch, HIVE-19137.03.patch, > HIVE-19137.04.patch, HIVE-19137.05.patch > > > HIVE-18659 added hive.acid.version in the file footer. > orcfiledump prints something like > {noformat} > User Metadata: > hive.acid.key.index=1,536870912,1; > hive.acid.stats=2,0,0 > hive.acid.version= > {noformat} > probably because > {noformat} > public static void setAcidVersionInDataFile(Writer writer) { > //so that we know which version wrote the file > ByteBuffer bf = ByteBuffer.allocate(4).putInt(ORC_ACID_VERSION); > bf.rewind(); //don't ask - some ByteBuffer weridness. w/o this, empty > buffer is written > writer.addUserMetadata(ACID_VERSION_KEY, bf); > } > {noformat} > use > {{UTF8.encode())}} instead -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (HIVE-19137) orcfiledump doesn't print hive.acid.version value
[ https://issues.apache.org/jira/browse/HIVE-19137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Igor Kryvenko updated HIVE-19137: - Attachment: HIVE-19137.02-branch-3.patch > orcfiledump doesn't print hive.acid.version value > - > > Key: HIVE-19137 > URL: https://issues.apache.org/jira/browse/HIVE-19137 > Project: Hive > Issue Type: Bug > Components: Transactions >Affects Versions: 3.0.0 >Reporter: Eugene Koifman >Assignee: Igor Kryvenko >Priority: Major > Attachments: HIVE-19137-branch-3.01.patch, HIVE-19137.01.patch, > HIVE-19137.02-branch-3.patch, HIVE-19137.02.patch, HIVE-19137.03.patch, > HIVE-19137.04.patch > > > HIVE-18659 added hive.acid.version in the file footer. > orcfiledump prints something like > {noformat} > User Metadata: > hive.acid.key.index=1,536870912,1; > hive.acid.stats=2,0,0 > hive.acid.version= > {noformat} > probably because > {noformat} > public static void setAcidVersionInDataFile(Writer writer) { > //so that we know which version wrote the file > ByteBuffer bf = ByteBuffer.allocate(4).putInt(ORC_ACID_VERSION); > bf.rewind(); //don't ask - some ByteBuffer weridness. w/o this, empty > buffer is written > writer.addUserMetadata(ACID_VERSION_KEY, bf); > } > {noformat} > use > {{UTF8.encode())}} instead -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (HIVE-19137) orcfiledump doesn't print hive.acid.version value
[ https://issues.apache.org/jira/browse/HIVE-19137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Igor Kryvenko updated HIVE-19137: - Attachment: HIVE-19137-branch-3.01.patch > orcfiledump doesn't print hive.acid.version value > - > > Key: HIVE-19137 > URL: https://issues.apache.org/jira/browse/HIVE-19137 > Project: Hive > Issue Type: Bug > Components: Transactions >Affects Versions: 3.0.0 >Reporter: Eugene Koifman >Assignee: Igor Kryvenko >Priority: Major > Attachments: HIVE-19137-branch-3.01.patch, HIVE-19137.01.patch, > HIVE-19137.02.patch, HIVE-19137.03.patch, HIVE-19137.04.patch > > > HIVE-18659 added hive.acid.version in the file footer. > orcfiledump prints something like > {noformat} > User Metadata: > hive.acid.key.index=1,536870912,1; > hive.acid.stats=2,0,0 > hive.acid.version= > {noformat} > probably because > {noformat} > public static void setAcidVersionInDataFile(Writer writer) { > //so that we know which version wrote the file > ByteBuffer bf = ByteBuffer.allocate(4).putInt(ORC_ACID_VERSION); > bf.rewind(); //don't ask - some ByteBuffer weridness. w/o this, empty > buffer is written > writer.addUserMetadata(ACID_VERSION_KEY, bf); > } > {noformat} > use > {{UTF8.encode())}} instead -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (HIVE-19137) orcfiledump doesn't print hive.acid.version value
[ https://issues.apache.org/jira/browse/HIVE-19137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Igor Kryvenko updated HIVE-19137: - Attachment: HIVE-19137.04.patch > orcfiledump doesn't print hive.acid.version value > - > > Key: HIVE-19137 > URL: https://issues.apache.org/jira/browse/HIVE-19137 > Project: Hive > Issue Type: Bug > Components: Transactions >Affects Versions: 3.0.0 >Reporter: Eugene Koifman >Assignee: Igor Kryvenko >Priority: Major > Attachments: HIVE-19137.01.patch, HIVE-19137.02.patch, > HIVE-19137.03.patch, HIVE-19137.04.patch > > > HIVE-18659 added hive.acid.version in the file footer. > orcfiledump prints something like > {noformat} > User Metadata: > hive.acid.key.index=1,536870912,1; > hive.acid.stats=2,0,0 > hive.acid.version= > {noformat} > probably because > {noformat} > public static void setAcidVersionInDataFile(Writer writer) { > //so that we know which version wrote the file > ByteBuffer bf = ByteBuffer.allocate(4).putInt(ORC_ACID_VERSION); > bf.rewind(); //don't ask - some ByteBuffer weridness. w/o this, empty > buffer is written > writer.addUserMetadata(ACID_VERSION_KEY, bf); > } > {noformat} > use > {{UTF8.encode())}} instead -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (HIVE-19137) orcfiledump doesn't print hive.acid.version value
[ https://issues.apache.org/jira/browse/HIVE-19137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Igor Kryvenko updated HIVE-19137: - Attachment: HIVE-19137.03.patch > orcfiledump doesn't print hive.acid.version value > - > > Key: HIVE-19137 > URL: https://issues.apache.org/jira/browse/HIVE-19137 > Project: Hive > Issue Type: Bug > Components: Transactions >Affects Versions: 3.0.0 >Reporter: Eugene Koifman >Assignee: Igor Kryvenko >Priority: Major > Attachments: HIVE-19137.01.patch, HIVE-19137.02.patch, > HIVE-19137.03.patch > > > HIVE-18659 added hive.acid.version in the file footer. > orcfiledump prints something like > {noformat} > User Metadata: > hive.acid.key.index=1,536870912,1; > hive.acid.stats=2,0,0 > hive.acid.version= > {noformat} > probably because > {noformat} > public static void setAcidVersionInDataFile(Writer writer) { > //so that we know which version wrote the file > ByteBuffer bf = ByteBuffer.allocate(4).putInt(ORC_ACID_VERSION); > bf.rewind(); //don't ask - some ByteBuffer weridness. w/o this, empty > buffer is written > writer.addUserMetadata(ACID_VERSION_KEY, bf); > } > {noformat} > use > {{UTF8.encode())}} instead -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (HIVE-19137) orcfiledump doesn't print hive.acid.version value
[ https://issues.apache.org/jira/browse/HIVE-19137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Igor Kryvenko updated HIVE-19137: - Attachment: HIVE-19137.02.patch > orcfiledump doesn't print hive.acid.version value > - > > Key: HIVE-19137 > URL: https://issues.apache.org/jira/browse/HIVE-19137 > Project: Hive > Issue Type: Bug > Components: Transactions >Affects Versions: 3.0.0 >Reporter: Eugene Koifman >Assignee: Igor Kryvenko >Priority: Major > Attachments: HIVE-19137.01.patch, HIVE-19137.02.patch > > > HIVE-18659 added hive.acid.version in the file footer. > orcfiledump prints something like > {noformat} > User Metadata: > hive.acid.key.index=1,536870912,1; > hive.acid.stats=2,0,0 > hive.acid.version= > {noformat} > probably because > {noformat} > public static void setAcidVersionInDataFile(Writer writer) { > //so that we know which version wrote the file > ByteBuffer bf = ByteBuffer.allocate(4).putInt(ORC_ACID_VERSION); > bf.rewind(); //don't ask - some ByteBuffer weridness. w/o this, empty > buffer is written > writer.addUserMetadata(ACID_VERSION_KEY, bf); > } > {noformat} > use > {{UTF8.encode())}} instead -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (HIVE-19137) orcfiledump doesn't print hive.acid.version value
[ https://issues.apache.org/jira/browse/HIVE-19137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Igor Kryvenko updated HIVE-19137: - Status: Patch Available (was: Open) > orcfiledump doesn't print hive.acid.version value > - > > Key: HIVE-19137 > URL: https://issues.apache.org/jira/browse/HIVE-19137 > Project: Hive > Issue Type: Bug > Components: Transactions >Affects Versions: 3.0.0 >Reporter: Eugene Koifman >Assignee: Igor Kryvenko >Priority: Major > Attachments: HIVE-19137.01.patch > > > HIVE-18659 added hive.acid.version in the file footer. > orcfiledump prints something like > {noformat} > User Metadata: > hive.acid.key.index=1,536870912,1; > hive.acid.stats=2,0,0 > hive.acid.version= > {noformat} > probably because > {noformat} > public static void setAcidVersionInDataFile(Writer writer) { > //so that we know which version wrote the file > ByteBuffer bf = ByteBuffer.allocate(4).putInt(ORC_ACID_VERSION); > bf.rewind(); //don't ask - some ByteBuffer weridness. w/o this, empty > buffer is written > writer.addUserMetadata(ACID_VERSION_KEY, bf); > } > {noformat} > use > {{UTF8.encode())}} instead -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (HIVE-19137) orcfiledump doesn't print hive.acid.version value
[ https://issues.apache.org/jira/browse/HIVE-19137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Igor Kryvenko updated HIVE-19137: - Attachment: HIVE-19137.01.patch > orcfiledump doesn't print hive.acid.version value > - > > Key: HIVE-19137 > URL: https://issues.apache.org/jira/browse/HIVE-19137 > Project: Hive > Issue Type: Bug > Components: Transactions >Affects Versions: 3.0.0 >Reporter: Eugene Koifman >Assignee: Igor Kryvenko >Priority: Major > Attachments: HIVE-19137.01.patch > > > HIVE-18659 added hive.acid.version in the file footer. > orcfiledump prints something like > {noformat} > User Metadata: > hive.acid.key.index=1,536870912,1; > hive.acid.stats=2,0,0 > hive.acid.version= > {noformat} > probably because > {noformat} > public static void setAcidVersionInDataFile(Writer writer) { > //so that we know which version wrote the file > ByteBuffer bf = ByteBuffer.allocate(4).putInt(ORC_ACID_VERSION); > bf.rewind(); //don't ask - some ByteBuffer weridness. w/o this, empty > buffer is written > writer.addUserMetadata(ACID_VERSION_KEY, bf); > } > {noformat} > use > {{UTF8.encode())}} instead -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (HIVE-19137) orcfiledump doesn't print hive.acid.version value
[ https://issues.apache.org/jira/browse/HIVE-19137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eugene Koifman updated HIVE-19137: -- Description: HIVE-18659 added hive.acid.version in the file footer. orcfiledump prints something like {noformat} User Metadata: hive.acid.key.index=1,536870912,1; hive.acid.stats=2,0,0 hive.acid.version= {noformat} probably because public static void setAcidVersionInDataFile(Writer writer) { //so that we know which version wrote the file ByteBuffer bf = ByteBuffer.allocate(4).putInt(ORC_ACID_VERSION); bf.rewind(); //don't ask - some ByteBuffer weridness. w/o this, empty buffer is written writer.addUserMetadata(ACID_VERSION_KEY, bf); } {noformat} use {{UTF8.encode())}} instead was: HIVE-18659 added hive.acid.version in the file footer. orcfiledump prints something like {noformat} User Metadata: hive.acid.key.index=1,536870912,1; hive.acid.stats=2,0,0 hive.acid.version= {noformat} probably because public static void setAcidVersionInDataFile(Writer writer) { //so that we know which version wrote the file ByteBuffer bf = ByteBuffer.allocate(4).putInt(ORC_ACID_VERSION); bf.rewind(); //don't ask - some ByteBuffer weridness. w/o this, empty buffer is written writer.addUserMetadata(ACID_VERSION_KEY, bf); } {noformat} use {{UTF8.encode()) instead > orcfiledump doesn't print hive.acid.version value > - > > Key: HIVE-19137 > URL: https://issues.apache.org/jira/browse/HIVE-19137 > Project: Hive > Issue Type: Bug > Components: Transactions >Affects Versions: 3.0.0 >Reporter: Eugene Koifman >Assignee: Eugene Koifman >Priority: Major > > HIVE-18659 added hive.acid.version in the file footer. > orcfiledump prints something like > {noformat} > User Metadata: > hive.acid.key.index=1,536870912,1; > hive.acid.stats=2,0,0 > hive.acid.version= > {noformat} > probably because > public static void setAcidVersionInDataFile(Writer writer) { > //so that we know which version wrote the file > ByteBuffer bf = ByteBuffer.allocate(4).putInt(ORC_ACID_VERSION); > bf.rewind(); //don't ask - some ByteBuffer weridness. w/o this, empty > buffer is written > writer.addUserMetadata(ACID_VERSION_KEY, bf); > } > {noformat} > use > {{UTF8.encode())}} instead -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (HIVE-19137) orcfiledump doesn't print hive.acid.version value
[ https://issues.apache.org/jira/browse/HIVE-19137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eugene Koifman updated HIVE-19137: -- Description: HIVE-18659 added hive.acid.version in the file footer. orcfiledump prints something like {noformat} User Metadata: hive.acid.key.index=1,536870912,1; hive.acid.stats=2,0,0 hive.acid.version= {noformat} probably because {noformat} public static void setAcidVersionInDataFile(Writer writer) { //so that we know which version wrote the file ByteBuffer bf = ByteBuffer.allocate(4).putInt(ORC_ACID_VERSION); bf.rewind(); //don't ask - some ByteBuffer weridness. w/o this, empty buffer is written writer.addUserMetadata(ACID_VERSION_KEY, bf); } {noformat} use {{UTF8.encode())}} instead was: HIVE-18659 added hive.acid.version in the file footer. orcfiledump prints something like {noformat} User Metadata: hive.acid.key.index=1,536870912,1; hive.acid.stats=2,0,0 hive.acid.version= {noformat} probably because public static void setAcidVersionInDataFile(Writer writer) { //so that we know which version wrote the file ByteBuffer bf = ByteBuffer.allocate(4).putInt(ORC_ACID_VERSION); bf.rewind(); //don't ask - some ByteBuffer weridness. w/o this, empty buffer is written writer.addUserMetadata(ACID_VERSION_KEY, bf); } {noformat} use {{UTF8.encode())}} instead > orcfiledump doesn't print hive.acid.version value > - > > Key: HIVE-19137 > URL: https://issues.apache.org/jira/browse/HIVE-19137 > Project: Hive > Issue Type: Bug > Components: Transactions >Affects Versions: 3.0.0 >Reporter: Eugene Koifman >Assignee: Eugene Koifman >Priority: Major > > HIVE-18659 added hive.acid.version in the file footer. > orcfiledump prints something like > {noformat} > User Metadata: > hive.acid.key.index=1,536870912,1; > hive.acid.stats=2,0,0 > hive.acid.version= > {noformat} > probably because > {noformat} > public static void setAcidVersionInDataFile(Writer writer) { > //so that we know which version wrote the file > ByteBuffer bf = ByteBuffer.allocate(4).putInt(ORC_ACID_VERSION); > bf.rewind(); //don't ask - some ByteBuffer weridness. w/o this, empty > buffer is written > writer.addUserMetadata(ACID_VERSION_KEY, bf); > } > {noformat} > use > {{UTF8.encode())}} instead -- This message was sent by Atlassian JIRA (v7.6.3#76005)