`
bo_hai
  • 浏览: 564597 次
  • 性别: Icon_minigender_1
  • 来自: 武汉
社区版块
存档分类
最新评论

The element type "description" must be terminated by the matching end

 
阅读更多

一、hive0-10 版本使用cp hive-default.xml.properties hive-site.xml后,生成新的配置文件hive-site.xml后,运行hive 命令后报下面的错误:

hive-site.xml:180:3: The element type "description" must be terminated by the matching end-tag "</description>".
Exception in thread "main" java.lang.RuntimeException: org.xml.sax.SAXParseException: The element type "description" must be terminated by the matching end-tag "</description>".

 问题产生的原因是:hite-site.xml 中缺少</description> 标签。当你使用命令sudo vim hite-site.xml 打开文件,想要找到在哪里加 </description> 时,你是不是傻眼了,这个文件有上百行呢。要是一行行的找下去...

 嘿嘿....,仔细看错误信息,信息中已提示180行,这下好了。我们使用命令:180G,光标直接跳转到 180行,加入 </description> 。再次运行hive ,这次报 end-tag </partition-dir> ,使用上面的方法可以很轻松的解决问题。

二、你的问题解决了吗?

分享到:
评论

相关推荐

    accounts-es.json

    练习es的资源,注意如果导入报错,处理报错The bulk request must be terminated by a newline 的话 curl -XPOST -H 'Content-Type:application/json' '*:9200/bank/account/_bulk?pretty' --data-binary "@account....

    s30801.tsr.zip_TSR_The Element

    描述中的错误信息 "The element type 'name' must be terminated by the matching end-tag '&lt;/name&gt;'" 是一个典型的XML或HTML解析错误,指出在文档中一个名为 "name" 的元素没有正确关闭。 XML(可扩展标记语言)和...

    keil安装过程及其一些问题解决

    无论是哪个版本,安装过程是相同的,该资源以V4.23为例 运行mdk.exe准备安装MDK-ARM

    java调用net开发的webservice实例

    Caused by: org.xml.sax.SAXParseException: The element type "p" must be terminated by the matching end-tag "&lt;/p&gt;". at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:239) at...

    数位板压力测试

    While the tablet interface design must address the technical problems stated above, it must also be useful to the programmers who will write tablet programs, and ultimately, to the tablet users....

    itext-2.1.7.js7.jar

    This is the bit that causes issues: &lt;groupId&gt;com.lowagie&lt;/groupId&gt; &lt;artifactId&gt;itext &lt;version&gt;2.1.7.js7 &lt;scope&gt;compile &lt;optional&gt;false &lt;groupId&gt;org.bouncycastle &lt;artifactId&gt;bcmail-jdk15on ...

    微软内部资料-SQL性能优化3

    To make use of either more or less strict isolation levels in applications, locking can be customized for an entire session by setting the isolation level of the session with the SET TRANSACTION ...

    LCTF软件备份VariSpec™ Liquid Crystal Tunable Filters

    Each command is terminated with an end-of-line terminator which can be either a carriage-return &lt;c/r&gt; or line feed &lt;l/f&gt;. For RS-232 models, the baud rate and terminator character are selected using ...

    2009 达内Unix学习笔记

    集合了 所有的 Unix命令大全 ...telnet 192.168.0.23 自己帐号 sd08077-you0 ftp工具 192.168.0.202 tools-toolss ... 各个 shell 可互相切换 ksh:$ sh:$ csh:guangzhou% bash:bash-3.00$ ... 命令和参数之间必需用空格隔...

    Universal-USB-Installer

    on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who ...

    Recover4all Professional

    computer for each one (1) purchased license the Registration Key may not be saved and the Registered Software may not be used on any other computer by the Registered End User or anybody else, unless a...

    WizFlow网页编辑

    on the Library, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who ...

    hibernate-shards.jar

    on the Library, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who ...

    polycom宝利通视频会议软件3.9 2018

    Unless otherwise agreed in writing by POLYCOM, by accepting these terms or by installing, downloading, copying, or otherwise using the SOFTWARE PRODUCT, you agree to be and will be bound by the terms ...

    BlueToolInstall

    1.7. “Software” shall mean that software which may be provided by Broadcom to Licensee from time to time and which is described in a Software Description Form executed by the parties that references...

    SSH错误集锦

    10. “The element type "XXX" must be terminated by the matching end-tag "XXX".” 这个错误通常发生在 struts-config.xml 文件的格式错误。解决方法是仔细检查 struts-config.xml 文件,确保它是良构的 XML ...

    Senfore_DragDrop_v4.1

    The define *must* be made in the project options. It is not sufficient to #define it in the source. If you manage to compile with C++ Builder (any version), I would very much like to know about it...

    Keil使用非正版Jlink

    Keil环境使用非正版Jlink,使用J-LINK下载或调试的时候会出现严重问题:The connected emulator is a J-link clone. 将文件解压,找到Keil安装目录,替换..\Keil\ARM\Segger

    matlab安装方法

    另外,如果你在启动MATLAB后收到关于文件info.xml的错误提示,比如"The element type 'name' must be terminated by the matching end-tag '&lt;/name&gt;'",你可以按照以下步骤解决: 1. 找到文件:定位到c:\matlab7\...

    gone fishing

    The number of minutes spent at each lake must be a multiple of 5. Input You will be given a number of cases in the input. Each case starts with a line containing n. This is followed by a line ...

Global site tag (gtag.js) - Google Analytics