{"id":4843,"date":"2023-10-25T11:45:08","date_gmt":"2023-10-25T03:45:08","guid":{"rendered":"https:\/\/nj.transwarp.cn:8180\/?p=4843"},"modified":"2023-10-25T11:45:08","modified_gmt":"2023-10-25T03:45:08","slug":"dbvisualizer%e5%b7%a5%e5%85%b7%e8%bf%9e%e6%8e%a5inceptor","status":"publish","type":"post","link":"https:\/\/kbwp.transwarp.cn\/?p=4843","title":{"rendered":"dbvisualizer\u5de5\u5177\u8fde\u63a5inceptor"},"content":{"rendered":"<h3>\u6982\u8981\u63cf\u8ff0<\/h3>\n<hr \/>\n<p>dbvisualizer\u662f\u4e00\u6b3e\u53ef\u89c6\u5316\u7684\u6570\u636e\u5e93\u7f16\u7a0b\u5de5\u5177\uff0c\u8fd9\u6b3e\u8f6f\u4ef6\u4ee5JDBC\u7684\u65b9\u5f0f\u6765\u8fde\u63a5\u6570\u636e\u5e93\uff0c\u56e0\u800c\u4e0d\u4ec5\u53ef\u7528\u4e8e\u64cd\u4f5cDB2\u6570\u636e\u5e93\uff0c\u4e5f\u53ef\u7528\u6765\u64cd\u4f5coracle\uff0cSQLSERVER\u7b49\u3002<\/p>\n<p>\u4ed6\u5141\u8bb8\u4f60\u8fde\u63a5\u4e0d\u540c\u7684\u6570\u636e\u5e93\u8fdb\u884c\u76f8\u5e94\u7684\u7f16\u8f91\u6216\u8005\u5176\u4ed6\u64cd\u4f5c\uff0c\u5185\u7f6e\u4e86SQL\u8bed\u53e5\uff0c\u64cd\u4f5c\u8d77\u6765\u5341\u5206\u65b9\u4fbf\u3002\u652f\u6301\u5404\u79cd\u6570\u636e\u5e93\u7684\u53ef\u89c6\u5316\u7f16\u7a0b\u5de5\u5177\uff0c\u51e1\u662f\u5177\u6709JDBC\u6570\u636e\u5e93\u63a5\u53e3\u7684\u6570\u636e\u5e93\u90fd\u53ef\u4ee5\u7ba1\u7406\uff0c\u5df2\u7ecf\u5728Oracle, Sybase, DB2, Informix, mysql, InstantDB, Cloudcape, HyperSonic \uff0cMimer SQL\u4e0a\u901a\u8fc7\u6d4b\u8bd5\u3002<\/p>\n<p>\u672c\u6587\u4e3b\u8981\u63cf\u8ff0\u5982\u4f55\u901a\u8fc7dbvisualizer\u5de5\u5177\u901a\u8fc7jdbc\u7684\u8fde\u63a5\u6211\u4eec\u7684inceptor\uff0c\u4ece3\u79cd\u8ba4\u8bc1\u65b9\u5f0f\u5b9e\u73b0\u3002<\/p>\n<h3>\u8be6\u7ec6\u8bf4\u660e<\/h3>\n<hr \/>\n<h4>1.\u4e0b\u8f7d\u9a71\u52a8<\/h4>\n<p>\u4ee5TDH6.0.2\u7248\u672c\u4e3a\u4f8b\uff0cmanager\u7684inceptor\u7ec4\u4ef6\u9875\u9762\uff0c\u66f4\u591a\u64cd\u4f5c&#8211;\u4e0b\u8f7dJDBC\u9a71\u52a8<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/12\/image-1607995278859.png\" alt=\"file\" \/><\/p>\n<p>\u9009\u62e9ALL-in-one\u7684jar\u5305\u4e0b\u8f7d<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/12\/image-1607995304324.png\" alt=\"file\" \/><\/p>\n<h4>2.\u65b0\u5efa\u9a71\u52a8<\/h4>\n<p>\u6570\u636e\u5e93-\u9a71\u52a8\u7ba1\u7406\u5668\uff0c\u65b0\u5efa\u9a71\u52a8\uff0c\u6dfb\u52a0\u524d\u9762\u4e0b\u8f7d\u597d\u7684jar\u5305<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/12\/image-1607994686605.png\" alt=\"file\" \/><\/p>\n<pre><code class=\"language-ruby\">Name\uff1ainceptor(\u53ef\u81ea\u5b9a\u4e49\u9a71\u52a8\u540d\u79f0)\nURL Format:jdbc:hive2:\/\/172.22.23.1:10000\/default;principal=hive\/tdh60201@TDH;kuser=hive\/tdh60201@TDH;keytab=d:\/inceptor.keytab;authentication=kerberos;krb5conf=d:\/krb5.conf\nDriver Class:org.apache.hive.jdbc.HiveDriver\n\nURL Format \u683c\u5f0f\u53ef\u4ee5\u6839\u636e\u8ba4\u8bc1\u7c7b\u578b\u8fdb\u884c\u914d\u7f6e\uff0c\u4e0a\u8ff0\u7684\u914d\u7f6e\u662fkerberos\u4e0b\u7684\u914d\u7f6e\u65b9\u5f0f<\/code><\/pre>\n<h4>3.\u65b0\u5efa\u8fde\u63a5<\/h4>\n<h5>3.1 \u7b80\u5355\u6a21\u5f0f<\/h5>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/12\/image-1607994890437.png\" alt=\"file\" \/><\/p>\n<h5>3.2 kerberos\u6a21\u5f0f<\/h5>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/12\/image-1607994814950.png\" alt=\"file\" \/><\/p>\n<p>Database URL\u5982\u4e0b\uff08\u9700\u8981\u5c06\u79df\u6237\u7684keytab\u3001\u96c6\u7fa4\u7684krb5.conf\u6587\u4ef6\u4e0b\u8f7d\u5230windows\u672c\u5730\u8fdb\u884c\u4f7f\u7528\uff09\uff1a<br \/>\n<code>jdbc:hive2:\/\/172.22.33.1:10000\/default;principal=hive\/tdh60201@TDH;kuser=lkw@TDH;keytab=D:\/lkw.keytab;authentication=kerberos;krb5conf=D:\/krb5.conf<\/code><\/p>\n<h5>3.3 ldap\u6a21\u5f0f<\/h5>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/12\/image-1607994794407.png\" alt=\"file\" \/><\/p>\n<h4>4.FAQ<\/h4>\n<h5>4.1 kerberos\u8ba4\u8bc1\u6a21\u5f0f\u4e0b\uff0c\u76f8\u5173\u4fe1\u606f\u90fd\u914d\u7f6e\u6b63\u786e\u4f46\u662f\u4ecd\u7136\u65e0\u6cd5\u8fde\u63a5<\/h5>\n<p>\u53ef\u4ee5\u53c2\u8003dbvisualizer\u5de5\u5177\u81ea\u5e26\u7684debug\u83dc\u5355\u6309\u94ae\uff0c\u6392\u67e5\u9519\u8bef\u65e5\u5fd7\uff0c<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/12\/image-1607994989909.png\" alt=\"file\" \/><\/p>\n<p>\u4e0b\u56fe\u4e3a\u4f8b\uff0cClock skew too great\uff0c\u663e\u7136\u662fwindows\u672c\u673a\u7684\u65f6\u95f4\u548c\u96c6\u7fa4\u7684\u65f6\u95f4\u60ac\u6b8a\u8fc7\u5927\uff0c\u5bfc\u81f4\u8ba4\u8bc1\u5931\u8d25\u3002<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2020\/12\/image-1607994998888.png\" alt=\"file\" \/><\/p>\n<h5>4.2 TDH6.0\u7248\u672c\u4e4b\u540e\u7684driver\u9a71\u52a8\u5305\uff0c\u65e0\u6cd5\u67e5\u8be2date\u7c7b\u578b\u6570\u636e<\/h5>\n<p><code>Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.apache.hadoop.hive.common.type.HiveDate1<\/code>,\u539f\u56e0\u662fhivedate\u7c7b\u4f1a\u8bbf\u95eehiveconf\uff0chiveconf\u4e2d\u7684\u8c03\u7528\u7684\u65e5\u5fd7\u7c7b\u4e0e\u5176\u4ed6\u7c7b\u6709\u51b2\u7a81\u3002<\/p>\n<p>\u89e3\u51b3\u65b9\u6cd5\uff1a\u4f4e\u7248\u672c\u9a71\u52a8\u67e5\u8be2date\u7c7b\u578b\u4e0d\u4f1a\u6709\u8be5\u95ee\u9898\uff0c\u5efa\u8bae\u4f7f\u7528\u4f4e\u7248\u672c\u7684jdbc\u9a71\u52a8\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6982\u8981\u63cf\u8ff0 dbvisualizer\u662f\u4e00\u6b3e\u53ef\u89c6\u5316\u7684\u6570\u636e\u5e93\u7f16\u7a0b\u5de5\u5177\uff0c\u8fd9\u6b3e\u8f6f\u4ef6\u4ee5JDBC\u7684\u65b9\u5f0f\u6765\u8fde\u63a5\u6570\u636e\u5e93\uff0c\u56e0\u800c\u4e0d\u4ec5 ..<\/p>\n<div class=\"clear-fix\"><\/div>\n<p><a href=\"https:\/\/kbwp.transwarp.cn\/?p=4843\" title=\"read more...\">Read more<\/a><\/p>\n","protected":false},"author":12,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-4843","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"acf":[],"_links":{"self":[{"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=\/wp\/v2\/posts\/4843","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=\/wp\/v2\/users\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4843"}],"version-history":[{"count":1,"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=\/wp\/v2\/posts\/4843\/revisions"}],"predecessor-version":[{"id":10998,"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=\/wp\/v2\/posts\/4843\/revisions\/10998"}],"wp:attachment":[{"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4843"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4843"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4843"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}