Skip to content

Commit

Permalink
Remove startJDBCServer example
Browse files Browse the repository at this point in the history
  • Loading branch information
Mahmoud Hanafy committed May 20, 2016
1 parent 1e58afd commit e792bb3
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
import org.apache.spark.sql.expressions.Window;
import org.apache.spark.sql.expressions.WindowSpec;
import org.apache.spark.sql.hive.HiveContext;
import org.apache.spark.sql.hive.thriftserver.HiveThriftServer2;

import java.util.HashMap;
import java.util.Map;
Expand Down Expand Up @@ -155,11 +154,6 @@ public DataFrame simpleSqlExample(DataFrame pandas) {
return miniPandas;
}

public void startJDBCServer(HiveContext sqlContext) {
sqlContext.setConf("hive.server2.thrift.port", "9090");
HiveThriftServer2.startWithContext(sqlContext);
}

/**
* Orders pandas by size ascending and by age descending.
* Pandas will be sorted by "size" first and if two pandas
Expand Down

0 comments on commit e792bb3

Please sign in to comment.