This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
while read line; do | |
thread=$(echo $line | awk '{ if (NF > 3) { print $3; } else {print "other";} print 'y';}'); | |
echo $line >> $thread; | |
done < ../modified.logs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
io.prestosql.spi.PrestoException: Error committing write to Hive | |
at io.prestosql.plugin.hive.OrcFileWriter.commit(OrcFileWriter.java:153) | |
at io.prestosql.plugin.hive.HiveWriter.commit(HiveWriter.java:86) | |
at io.prestosql.plugin.hive.HivePageSink.doFinish(HivePageSink.java:193) | |
at io.prestosql.plugin.hive.authentication.NoHdfsAuthentication.doAs(NoHdfsAuthentication.java:23) | |
at io.prestosql.plugin.hive.HdfsEnvironment.doAs(HdfsEnvironment.java:80) | |
at io.prestosql.plugin.hive.HivePageSink.finish(HivePageSink.java:184) | |
at io.prestosql.spi.connector.classloader.ClassLoaderSafeConnectorPageSink.finish(ClassLoaderSafeConnectorPageSink.java:74) | |
at io.prestosql.operator.TableWriterOperator.finish(TableWriterOperator.java:193) | |
at io.prestosql.operator.Driver.processInternal(Driver.java:397) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hive> create table x(c_bigint BIGINT, c_varchar VARCHAR(255)) ROW FORMAT SERDE 'org.apache.hadoop.hive.serde2.OpenCSVSerde' WITH SERDEPROPERTIES ("separatorCh | |
ar" = "S", "quoteChar" = "Q", "escapeChar" = "E") STORED AS TEXTFILE TBLPROPERTIES ("separatorChar" = "s", "quoteChar" = "q", "escapeChar" = "e"); | |
OK | |
Time taken: 0.655 seconds | |
hive> insert into x values (1, 'dwa'); | |
OK | |
Time taken: 18.714 seconds | |
hive> | |
hive> show create table x; | |
OK |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/pom.xml b/pom.xml | |
index 0ea686e..60dddc9 100644 | |
--- a/pom.xml | |
+++ b/pom.xml | |
@@ -5,21 +5,18 @@ | |
<parent> | |
<artifactId>presto-root</artifactId> | |
<groupId>io.prestosql</groupId> | |
- <version>302-e.11</version> | |
- <relativePath>../../repos/presto</relativePath> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"abortreadconnection.failures.fifteenminute.count": 0, | |
"abortreadconnection.failures.fifteenminute.rate": 0, | |
"abortreadconnection.failures.fiveminute.count": 0, | |
"abortreadconnection.failures.fiveminute.rate": 0, | |
"abortreadconnection.failures.oneminute.count": 0, | |
"abortreadconnection.failures.oneminute.rate": 0, | |
"abortreadconnection.failures.totalcount": 0, | |
"abortreadconnection.time.alltime.avg": 0.002544151589242054, | |
"abortreadconnection.time.alltime.count": 409, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"abortreadconnection.failures.fifteenminute.count": 0, | |
"abortreadconnection.failures.fifteenminute.rate": 0, | |
"abortreadconnection.failures.fiveminute.count": 0, | |
"abortreadconnection.failures.fiveminute.rate": 0, | |
"abortreadconnection.failures.oneminute.count": 0, | |
"abortreadconnection.failures.oneminute.rate": 0, | |
"abortreadconnection.failures.totalcount": 0, | |
"abortreadconnection.time.alltime.avg": 0.002544151589242054, | |
"abortreadconnection.time.alltime.count": 409, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -euo pipefail | |
usage() { | |
echo "Usage: $0 <git change set>" | |
exit 1; | |
} | |
ask() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -xeuo pipefail | |
other_repo=~/presto-private | |
pushd "$other_repo" | |
files="$(git log --name-status -1 | grep '^[AM]\s' | awk '{print $2}')" | |
popd | |
for file in $files; do |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -xeuo pipefail | |
usage() | |
{ | |
echo "Usage: $0 -p <path of configs to be overriden>" >&2 | |
exit 1 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
################################################################################ | |
# Copyright (c) 2018 Starburst Data, Inc. All rights reserved. | |
# | |
# All information herein is owned by Starburst Data Inc. and its licensors | |
# ("Starburst"), if any. This software and the concepts it embodies are | |
# proprietary to Starburst, are protected by trade secret and copyright law, | |
# and may be covered by patents in the U.S. and abroad. Distribution, | |
# reproduction, and relicensing are strictly forbidden without Starburst's prior |
NewerOlder