Skip to content

Conversation

@Mulily0513
Copy link
Collaborator

…pectations

  • add bench_test and pxf_extension_test in run_tests.sh, plus matrix entries for bench and pxf_extension in CI
  • bump surefire heap to 4G to avoid OOM
  • update gpupgrade expected outputs to new PXF_HOME paths and JSON formatter error text
  • make ProtocolUtils/HiveBaseTest/JdbcHiveTest/OrcWriteTest/ParquetWriteTest more robust to env defaults (protocol, creds, hive JDBC URL)
  • keep MultiServerTest running under HDFS with a safe working directory fallback
  • set distribution key and INSERT pattern for performance test data load

fix #ISSUE_Number


Change logs

Describe your change clearly, including what problem is being solved or what document is being added or updated.

Contributor's checklist

Here are some reminders before you submit your pull request:

  • Make sure that your Pull Request has a clear title and commit message. You can take the Git commit template as a reference.
  • Sign the Contributor License Agreement as prompted for your first-time contribution (One-time setup).
  • Learn the code contribution and doc contribution guides for better collaboration.
  • List your communications in the GitHub Issues or Discussions (if has or needed).
  • Feel free to ask for the cloudberrydb team to help review and approve.

…pectations

- add bench_test and pxf_extension_test in run_tests.sh, plus matrix entries for bench and pxf_extension in CI
- bump surefire heap to 4G to avoid OOM
- update gpupgrade expected outputs to new PXF_HOME paths and JSON formatter error text
- make ProtocolUtils/HiveBaseTest/JdbcHiveTest/OrcWriteTest/ParquetWriteTest more robust to env defaults (protocol, creds, hive JDBC URL)
- keep MultiServerTest running under HDFS with a safe working directory fallback
- set distribution key and INSERT pattern for performance test data load
else
export JAVA_HOME=$(readlink -f /usr/bin/java | sed 's:/bin/java::')
fi
export JAVA_HOME=/usr/lib/jvm/java-8-openjdk
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

delete Auto-detect Java 8 path for different architectures?

return System.getProperty(AWS_ACCESS_KEY_ID);
String access = System.getProperty(AWS_ACCESS_KEY_ID);
String result = access != null ? access : System.getenv(AWS_ACCESS_KEY_ID);
System.out.println("DEBUG: doInit() method called getAccess " + result);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is a debug print?

hdfs.getWorkingDirectory() + "/" + fileName);
// load to hive table
hive.loadData(tableName, hdfsPath, false);
hive.loadData(tableName, hdfs.getWorkingDirectory() + "/" + fileName, false);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sometimes HDFS metadata loading isn't that fast. Would it be better to add hdfs.waitForFile? ensure data load successfully?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants