首页 文章 精选 留言 我的

精选列表

搜索[版本控制],共10024篇文章
优秀的个人博客,低调大师

hive权限控制

<property> <name>hive.server2.authentication</name> <value>CUSTOM</value> </property> <property> <name>hive.server2.custom.authentication.class</name> <value>com.hiveserver.auth.CustomHiveServerAuth</value> </property> <property> <name>hive.server2.custom.authentication.file</name> <value>/home/soft/hive/conf/hiveserver2.users.conf</value> </property> <property> <name>hive.metastore.local</name> <value>false</value> </property> <property> <name>hive.metastore.uris</name> <value>thrift://spark01:9083</value> <description>Thrift URI for the remote metastore. Used by metastore client to connect to remote metastore.</description> </property> <property> <name>hive.security.authenticator.manager</name> <value>org.apache.hadoop.hive.ql.security.SessionStateUserAuthenticator</value> <description> hive client authenticator manager class name. The user defined authenticator should implement interface org.apache.hadoop.hive.ql.security.HiveAuthenticationProvider. </description> </property> <property> <name>hive.security.authorization.enabled</name> <value>true</value> <description>enable or disable the Hive client authorization</description> </property> <property> <name>hive.security.authorization.manager</name> <value>org.apache.hadoop.hive.ql.security.authorization.plugin.sqlstd.SQLStdHiveAuthorizerFactory</value> <description> The Hive client authorization manager class name. The user defined authorization class should implement interface org.apache.hadoop.hive.ql.security.authorization.HiveAuthorizationProvider. </description> </property> <property> <name>hive.users.in.admin.role</name> <value>root</value> <description> Comma separated list of users who are in admin role for bootstrapping. More users can be added in ADMIN role later. </description> </property> <property> <name>hive.server2.enable.doAs</name> <value>false</value> <description> Setting this property to true will have HiveServer2 execute Hive operations as the user making the calls to it. </description> </property> <property> <name>hive.server2.thrift.bind.host</name> <value>spark01</value> <description>Bind host on which to run the HiveServer2 Thrift service.</description> </property> <property> <name>hive.server2.thrift.port</name> <value>10000</value> <description>Port number of HiveServer2 Thrift interface when hive.server2.transport.mode is 'binary'.</description> </property> <property> <name>hive.server2.thrift.http.port</name> <value>10001</value> <description>Port number of HiveServer2 Thrift interface when hive.server2.transport.mode is 'http'.</description> </property> hive --service metastore &hive --service hiveserver2 & !connect jdbc:hive2://172.16.0.71:10000 create database tycybgongshang;describe database tycbygongshang;create database tycybzhuanli;set role admin;

优秀的个人博客,低调大师

Android内存控制

Android开发实践:检测App的内存占用和泄漏 http://www.linuxidc.com/Linux/2014-03/97563.htm 官方文档对于内存管理 http://developer.android.com/intl/zh-cn/training/articles/memory.html http://blog.csdn.net/hknock/article/details/47322005(中文翻译) Android代码内存优化建议-Android资源篇 http://blog.csdn.net/hknock/article/details/47322005 Android 内存管理 &Memory Leak & OOM 分析 http://blog.csdn.net/vshuang/article/details/39647167 ANDROID 探究oom内幕 http://blog.csdn.net/chengyingzhilian/article/details/8662849 Android DiskLruCache缓存完全解析 http://blog.csdn.net/lwyygydx/article/details/40401211 Java内存分配全面浅析 http://blog.csdn.net/yangyuankp/article/details/7651251 Java内存分配、管理小结 http://java-mzd.iteye.com/blog/848635 JVM 的 工作原理,层次结构 以及 GC工作原理 http://segmentfault.com/a/1190000002579346 前些日子,一位面试官(乔丽云,大约30来岁,个子不是很高),我从她那里确实领会了一些东西: 假如有这样一个需求,判断一个文件的格式 一般的人会将格式全部存入HashMap当中,然后去遍历,然后问我有没有什么优化的方法,就是不写 入到内存当中? 答案:用if else或switch来用语法来判断,这样是节省了内存,但是在性能上可能上会有一定的代价。 在Activity退出,注销登录时,如果还有网络请求在运行,应该怎么取消? Volley库可以做到 对于一些图片库,在下载完图片时,如果任务在进行,而界面退出了,应该怎么取消?图片库做了 什么处理? DiskLruCache详解 http://blog.csdn.net/lwyygydx/article/details/40401211 本文转自屠夫章哥 51CTO博客,原文链接:http://blog.51cto.com/4259297/1710264,如需转载请自行联系原作者

资源下载

更多资源
Mario

Mario

马里奥是站在游戏界顶峰的超人气多面角色。马里奥靠吃蘑菇成长,特征是大鼻子、头戴帽子、身穿背带裤,还留着胡子。与他的双胞胎兄弟路易基一起,长年担任任天堂的招牌角色。

Spring

Spring

Spring框架(Spring Framework)是由Rod Johnson于2002年提出的开源Java企业级应用框架,旨在通过使用JavaBean替代传统EJB实现方式降低企业级编程开发的复杂性。该框架基于简单性、可测试性和松耦合性设计理念,提供核心容器、应用上下文、数据访问集成等模块,支持整合Hibernate、Struts等第三方框架,其适用范围不仅限于服务器端开发,绝大多数Java应用均可从中受益。

Rocky Linux

Rocky Linux

Rocky Linux(中文名:洛基)是由Gregory Kurtzer于2020年12月发起的企业级Linux发行版,作为CentOS稳定版停止维护后与RHEL(Red Hat Enterprise Linux)完全兼容的开源替代方案,由社区拥有并管理,支持x86_64、aarch64等架构。其通过重新编译RHEL源代码提供长期稳定性,采用模块化包装和SELinux安全架构,默认包含GNOME桌面环境及XFS文件系统,支持十年生命周期更新。

WebStorm

WebStorm

WebStorm 是jetbrains公司旗下一款JavaScript 开发工具。目前已经被广大中国JS开发者誉为“Web前端开发神器”、“最强大的HTML5编辑器”、“最智能的JavaScript IDE”等。与IntelliJ IDEA同源,继承了IntelliJ IDEA强大的JS部分的功能。

用户登录
用户注册