/tags/release-0.0.0-rc0/hive/external/contrib/src/test/queries/clientnegative/url_hook.q

# · text · 9 lines · 9 code · 0 blank · 0 comment · 0 complexity · 44f2b72a5600a218a7474738fead3928 MD5 · raw file

  1. add jar ${system:build.dir}/hive-contrib-${system:hive.version}.jar;
  2. set hive.metastore.force.reload.conf=true;
  3. SHOW TABLES 'src';
  4. set hive.metastore.ds.connection.url.hook=org.apache.hadoop.hive.contrib.metastore.hooks.TestURLHook;
  5. SHOW TABLES 'src';
  6. SHOW TABLES 'src';
  7. set hive.metastore.force.reload.conf=false;
  8. set hive.metastore.ds.connection.url.hook=;
  9. SHOW TABLES 'src';