我想在hive中添加一个文件:
<script src="js/jquery-1.9.1.min.js" type="text/javascript"></script>
<script src="js/jquery.dataTables.min.js" type="text/javascript"></script>
<script src="ui/jquery-ui.min.js" type="text/javascript"></script>
但文件确实存在于文件夹中:
hive> add FILE '/opt/hadoop/weekday_mapper.py';
'/opt/hadoop/weekday_mapper.py' does not exist
Query returned non-zero code: 1, cause: '/opt/hadoop/weekday_mapper.py' does not exist
为什么Hive中的第一个添加查询说该文件不存在?
答案 0 :(得分:1)
执行add FILE /opt/hadoop/weekday_mapper.py;
从add FILE '/opt/hadoop/weekday_mapper.py';