在Hadoop中使用HBase而不是Hive的目的[重复](Purpose of using HBase in Hadoop instead of Hive [duplicate])
这个问题在这里已经有了答案:
- hbase和hive有什么区别? (Hadoop) 1个答案
在我的项目中,我们使用
Hadoop 2
,Spark
,Scala
。Scala
是编程语言,Spark
在这里用于分析。 我们都在使用Hive
和HBase
。 我可以使用Hive
访问HDFS
文件等所有细节。 但我的困惑是 -
- 当我能够使用
Hive
执行所有作业时,那么为什么HBase
需要存储数据。 这不是一个开销吗?HIVE
和HBase
的功能是什么?- 如果我们只使用Hive,那应该是什么问题?
任何人都可以请让我知道。
This question already has an answer here:
In my project, we are using
Hadoop 2
,Spark
,Scala
.Scala
is the programming language andSpark
is using here for analysing. we are usingHive
andHBase
both. I can access all details like file etc. ofHDFS
usingHive
. But my confusions are -
- When I can able to performed all jobs using
Hive
, Then whyHBase
is required to store the data. Is it not an overhead?- What are the functionality of
HIVE
andHBase
?- If we only used Hive, Then what should be the problem?
Can anyone please let me know.
原文:https://stackoverflow.com/questions/41378511
最满意答案
使用
input.next()
而不是input.nextLine()
,原因是nextLine()方法会返回缓冲区中的下一行,所以每次都不会要求您输入更多信息,请查看Scanner文档http://docs.oracle.com/javase/7/docs/api/java/util/Scanner.htmluse
input.next()
instead ofinput.nextLine()
the reason is that the nextLine() method will return the next line in the buffer, so it won't ask you for an input every time for more information check the Scanner documentation http://docs.oracle.com/javase/7/docs/api/java/util/Scanner.html
相关问答
更多-
Stubborn JComboBox(The Stubborn JComboBox)[2023-05-22]
您的(不完整)示例调用 comboBox.setSelectedIndex(0); 在变得可见之前,取消之前的任何设置。 在添加侦听器之前设置所需的初始索引,并且不要忽略在EDT上启动,如下面的sscce所示。 import java.awt.BorderLayout; import java.awt.Dimension; import java.awt.EventQueue; import java.awt.event.ActionEvent; import java.awt.event.ActionL ... -
如何缩放嵌入[2023-03-08]
您可以将“preserveAspectRatio”和“viewBox”属性添加到 -
正如我所料,你不应用text-decoration: none; 到锚点(.boxhead a),但是到一个span元素(.boxhead)。 尝试这个: .boxhead a { color: #FFFFFF; text-decoration: none; } As I expected, you are not applying text-decoration: none; to an anchor (.boxhead a) but to a span element (.boxhea ...
-
HTML表格表现顽固(HTML form table acting stubborn)[2022-11-24]
我不确定它在其他浏览器中的效果如何,但这在chrome中看起来很好:Phone number: 通过从Eclipse中删除Tomcat 7.0实例 并将其添加回来修复了该问题 我只能猜测服务器配置可能会不时被破坏 The problem has been fixed by removing the Tomcat 7.0 instance from Eclipse and and add it back I can only guess Servers configuration can get corrupted from time to time通常, select被放入一个循环中。 select阻止程序直到事件发生。 因此,如果第一个循环成功,那么第二个循环将启动,但不会参加正常的http连接。 我建议你做一个选择,并包括(在if ) http和https连接。 就像是: for socket in rlist: if socket is self.http_socket: client, address = socket.accept() print 'new connection ' + address ...我相信你需要为你的DataAdapter提供你提供select语句的参数。 看一看。 我从我的代码中给出了一个使用OleDB的示例(我已经删除了所有打开/关闭连接以便于阅读)。 它们非常相似。 SqlCmd = "select * from App_Details WHERE App_Name LIKE @Var"; aCommand = new OleDbCommand(SqlCmd, aConnection); aCommand.Parameters.AddWithValue("@Var", valu ...解决了。 它的出现是为了避免IntelliSense发疯,委托定义必须超出事件父类范围。 因此,在我的情况下,我必须做的就是将事情弄清楚(对于IntelliSense)是将代理移到类外添加public关键字,例如: namespace FavaTest { public delegate void FavaDelegate(); // moved out of the class with "public" public ref class FavaClass : public S ...卡住顽固的方法(Stuck on stubborn method)[2024-02-15]
使用input.next()而不是input.nextLine() ,原因是nextLine()方法会返回缓冲区中的下一行,所以每次都不会要求您输入更多信息,请查看Scanner文档http://docs.oracle.com/javase/7/docs/api/java/util/Scanner.html use input.next()instead of input.nextLine() the reason is that the nextLine() method will return the ...顽固的下划线是行不通的(stubborn underline won't work)[2022-02-13]
删除下划线的问题是选择没有考虑包装元素。 删除了中的内容,并在标记内插入了标记的新内容。 我试图上升一个节点并检查它是否是然后删除节点: if (selectionIsUnderlined()) { node = range.createContextualFragment( "" + sell + ""); var nd = ...相关文章
更多- Hadoop Hive与Hbase整合
- Hive入门之Hive与HBase整合
- HBase和Hive的基本配置
- [Hadoop] Hive 性能+特性
- Hadoop-1.0.3+Hive-0.9.0+HBase-0.92.0单机伪分布式配置
- Hadoop生态系统搭建(hadoop hive hbase zookeeper oozie sqoop)
- Hadoop + HBase 集群
- Hive是什么?
- Hive 和 Hadoop 关系
- Hadoop数据迁入到Hive
最新问答
更多- h2元素推动其他h2和div。(h2 element pushing other h2 and div down. two divs, two headers, and they're wrapped within a parent div)
- 创建一个功能(Create a function)
- 我投了份简历,是电脑编程方面的学徒,面试时说要培训三个月,前面
- PDO语句不显示获取的结果(PDOstatement not displaying fetched results)
- Qt冻结循环的原因?(Qt freezing cause of the loop?)
- TableView重复youtube-api结果(TableView Repeating youtube-api result)
- 如何使用自由职业者帐户登录我的php网站?(How can I login into my php website using freelancer account? [closed])
- SQL Server 2014版本支持的最大数据库数(Maximum number of databases supported by SQL Server 2014 editions)
- 我如何获得DynamicJasper 3.1.2(或更高版本)的Maven仓库?(How do I get the maven repository for DynamicJasper 3.1.2 (or higher)?)
- 以编程方式创建UITableView(Creating a UITableView Programmatically)
- 如何打破按钮上的生命周期循环(How to break do-while loop on button)
- C#使用EF访问MVC上的部分类的自定义属性(C# access custom attributes of a partial class on MVC with EF)
- 如何获得facebook app的publish_stream权限?(How to get publish_stream permissions for facebook app?)
- 如何防止调用冗余函数的postgres视图(how to prevent postgres views calling redundant functions)
- Sql Server在欧洲获取当前日期时间(Sql Server get current date time in Europe)
- 设置kotlin扩展名(Setting a kotlin extension)
- 如何并排放置两个元件?(How to position two elements side by side?)
- 如何在vim中启用python3?(How to enable python3 in vim?)
- 在MySQL和/或多列中使用多个表用于Rails应用程序(Using multiple tables in MySQL and/or multiple columns for a Rails application)
- 如何隐藏谷歌地图上的登录按钮?(How to hide the Sign in button from Google maps?)
- Mysql左连接旋转90°表(Mysql Left join rotate 90° table)
- dedecms如何安装?
- 在哪儿学计算机最好?
- 学php哪个的书 最好,本人菜鸟
- 触摸时不要突出显示表格视图行(Do not highlight table view row when touched)
- 如何覆盖错误堆栈getter(How to override Error stack getter)
- 带有ImageMagick和许多图像的GIF动画(GIF animation with ImageMagick and many images)
- USSD INTERFACE - > java web应用程序通信(USSD INTERFACE -> java web app communication)
- 电脑高中毕业学习去哪里培训
- 正则表达式验证SMTP响应(Regex to validate SMTP Responses)