aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md4
-rw-r--r--src/main/scala/parallelai/spyglass/jdbc/testing/JdbcSourceShouldReadWrite.scala6
-rw-r--r--src/test/java/parallelai/spyglass/hbase/GenerateTestingHTables.java4
3 files changed, 7 insertions, 7 deletions
diff --git a/README.md b/README.md
index 234cc8b..7d351c2 100644
--- a/README.md
+++ b/README.md
@@ -296,7 +296,7 @@ e.g.
val jdbcSourceRead = new JDBCSource(
"TABLE_01",
"com.mysql.jdbc.Driver",
- "jdbc:mysql://localhost:3306/sky_db?zeroDateTimeBehavior=convertToNull",
+ "jdbc:mysql://localhost:3306/db?zeroDateTimeBehavior=convertToNull",
"root",
"password",
List("ID", "TEST_COLUMN1", "TEST_COLUMN2", "TEST_COLUMN3"),
@@ -309,7 +309,7 @@ e.g.
val jdbcSourceWrite = new JDBCSource(
"TABLE_01",
"com.mysql.jdbc.Driver",
- "jdbc:mysql://localhost:3306/sky_db?zeroDateTimeBehavior=convertToNull",
+ "jdbc:mysql://localhost:3306/db?zeroDateTimeBehavior=convertToNull",
"root",
"password",
List("ID", "TEST_COLUMN1", "TEST_COLUMN2", "TEST_COLUMN3"),
diff --git a/src/main/scala/parallelai/spyglass/jdbc/testing/JdbcSourceShouldReadWrite.scala b/src/main/scala/parallelai/spyglass/jdbc/testing/JdbcSourceShouldReadWrite.scala
index c4e6c84..3f03d3f 100644
--- a/src/main/scala/parallelai/spyglass/jdbc/testing/JdbcSourceShouldReadWrite.scala
+++ b/src/main/scala/parallelai/spyglass/jdbc/testing/JdbcSourceShouldReadWrite.scala
@@ -36,7 +36,7 @@ class JdbcSourceShouldReadWrite (args: Args) extends JobBase(args) {
val jdbcSourceRead = new JDBCSource(
"TABLE_01",
"com.mysql.jdbc.Driver",
- "jdbc:mysql://localhost:3306/sky_db?zeroDateTimeBehavior=convertToNull",
+ "jdbc:mysql://localhost:3306/db?zeroDateTimeBehavior=convertToNull",
"root",
"password",
List("ID", "TEST_COLUMN1", "TEST_COLUMN2", "TEST_COLUMN3"),
@@ -49,7 +49,7 @@ class JdbcSourceShouldReadWrite (args: Args) extends JobBase(args) {
val jdbcSourceWrite = new JDBCSource(
"TABLE_01",
"com.mysql.jdbc.Driver",
- "jdbc:mysql://localhost:3306/sky_db?zeroDateTimeBehavior=convertToNull",
+ "jdbc:mysql://localhost:3306/db?zeroDateTimeBehavior=convertToNull",
"root",
"password",
List("ID", "TEST_COLUMN1", "TEST_COLUMN2", "TEST_COLUMN3"),
@@ -93,7 +93,7 @@ class JdbcSourceShouldReadWrite (args: Args) extends JobBase(args) {
val jdbcSourceReadUpdated = new JDBCSource(
"TABLE_02",
"com.mysql.jdbc.Driver",
- "jdbc:mysql://localhost:3306/sky_db?zeroDateTimeBehavior=convertToNull",
+ "jdbc:mysql://localhost:3306/db?zeroDateTimeBehavior=convertToNull",
"root",
"password",
List("ID", "TEST_COLUMN1", "TEST_COLUMN2", "TEST_COLUMN3"),
diff --git a/src/test/java/parallelai/spyglass/hbase/GenerateTestingHTables.java b/src/test/java/parallelai/spyglass/hbase/GenerateTestingHTables.java
index 471e1fe..f5bc0e7 100644
--- a/src/test/java/parallelai/spyglass/hbase/GenerateTestingHTables.java
+++ b/src/test/java/parallelai/spyglass/hbase/GenerateTestingHTables.java
@@ -32,14 +32,14 @@ import org.junit.Test;
* in file HBaseSourceShouldRead.scala
*
* Run with:
- * mvn -Dtest=bskyb.commons.hbase.skybase.GenerateTestingHTables test
+ * mvn -Dtest=parallelai.spyglass.hbase.skybase.GenerateTestingHTables test
*
* @author Antwnis@gmail.com
*/
public class GenerateTestingHTables {
private static Configuration config = HBaseConfiguration.create();
- private static final String QUORUM = "cldmgr.prod.bigdata.bskyb.com";
+ private static final String QUORUM = "cldmgr.test.server.com";
private static final String QUORUM_PORT = "2181";
private static final Long STARTING_TIMESTAMP = 1260000000000L;