Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
kecheung committed Dec 24, 2020
1 parent d5fbb0e commit 7d9ba0c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions README_advanced.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,14 @@ The default method is a direct connection to the headnode. Modify to any of the
MODE='default'
```

## Modifying Connection String
File: `util_internalRunQuery.sh`

The default method connects to the current node using port 10001. To change hostname or port modify ``` `hostname -f`:10001 ```
```
timeout $TIME_TO_TIMEOUT beeline -u "jdbc:hive2://`hostname -f`:10001/${INTERNAL_DATABASE};transportMode=http"
```

# Further Troubleshooting

## Exception updating or communicating with metastore.
Expand Down
2 changes: 1 addition & 1 deletion util_tablegentpcds.sh
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ function create_managed_tables() {
}
function load_constraints() {
echo "Loading constraints"
echo "Start loading constraints"
timedate
runcommand "$BEELINEURL -f ddl-tpcds/bin_partitioned/add_constraints.sql --hivevar DB=${DATABASE}"
echo "Data loaded into database ${DATABASE}."
Expand Down

0 comments on commit 7d9ba0c

Please sign in to comment.