hive-site.xml不会覆盖默认属性

时间:2016-02-26 09:43:43

标签: hadoop hive apache-hive

我试图通过在hive-site.xml中设置hive默认属性来覆盖它们,但它没有任何效果。调试问题可能有助于解决问题:

  1. 环境变量:

    HIVE_CONF_DIR=$HIVE_HOME/conf HADOOP_CLASSPATH=$HADOOP_CLASSPATH:$HIVE_HOME/conf:$HIVE_HOME/lib HIVE_AUX_JARS_PATH=$HIVE_HOME/lib

  2. 权限:我已将777权限授予整个hive目录 (我知道它应该是733而我不应该777而是为了hive-env.sh 测试的缘故,我做了它)

  3. 有效的XML:我认为它可能是无效的xml,但是xsl定义 和标签完整有效。在xml中没有问题。

  4. hive-site.xml正在阅读但无法说明@model IEnumerable<MyBudgetWeb.Models.ApplicationUser> @{ ViewBag.Title = "Index"; } <script src="~/Scripts/jquery-1.10.2.js"></script> <script type="text/javascript"> $(function () { $('.footable').footable(); }); </script> <br /><br /> <h2>Bill Pay Users</h2> <input id="filter" type="text" placeholder="Filter" /> <br /><br /> @if (Model.Count() > 0) { <table class="table" data-filter="#filter" data-page-size="50"> <thead> <tr> <th data-type="numeric">Customer Number</th> <th data-type="numeric">Account Name</th> <th data-type="numeric" data-hide="phone">Go Live Date</th> <th data-type="numeric" data-hide="phone">Online Live Date</th> <th>Actions</th> </tr> </thead> <tbody> @foreach (var item in Model) { <tr> <td>@item.CustomerNumber</td> <td>@item.AccountName</td> <td>@item.GoLiveDate</td> <td>@item.OnlineCreationTimestamp</td> <td> @Html.ActionLink("Edit", "Edit", new { id = item.Id }) | @Html.ActionLink("Details", "Details", new { id = item.Id }) | @*@Html.ActionLink("Delete", "Delete", new { id = item.Id })*@ </td> </tr> } </tbody> <tfoot class="hide-if-no-paging"> <tr> <td colspan="12" class="text-center"> <ul class="pagination"></ul> </td> </tr> </tfoot> </table> } else { <h2>You are still awaiting users to be added. All users will be displayed here.</h2> }

  5. 如果需要任何其他详细信息,请发表评论。

0 个答案:

没有答案