5
0
mirror of https://github.com/apache/sqoop.git synced 2025-05-12 06:51:09 +08:00

SQOOP-2656: Sqoop2: NPE will happen in connector-loading-tests when do the slow integration test

(Colin Ma via Jarek Jarcec Cecho)
This commit is contained in:
Jarek Jarcec Cecho 2015-11-04 07:58:01 -08:00
parent 492459615e
commit 84590aa4ab

View File

@ -140,7 +140,9 @@ protected void startSqoop() throws Exception {
} }
protected void stopSqoop() throws Exception { protected void stopSqoop() throws Exception {
cluster.stop(); if (cluster != null) {
cluster.stop();
}
} }
protected void stopHadoop() throws Exception { protected void stopHadoop() throws Exception {