private String buildLocationClause(String location) {
    return location == null ? "" : (" LOCATION '" + location + "'");
  }
Tests DDL with remote metastore service and second namenode (HIVE-6374)
itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/TestDDLWithRemoteMetastoreSecondNamenode.java