Comments (4)
@zhengwanbo thanks for filing this issue - we'll take a look and get back to you
from oci-hdfs-connector.
hi @zhengwanbo, It seems you are not able to run count query but it has nothing to do with hdfs connector. You will need to do the following:
- Reference the JAR file before starting the Spark shell i.e by placing hdfs connector lib and third-party jars in spark-3.1.2-bin-hadoop3.2/jars
- Create .oci folder and copy your api keys. Also, create core-site.xml and place it spark-3.1.2-bin-hadoop3.2/conf folder along with spark-defaults.conf file. follow: https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/hdfsconnectorspark.htm
- Run command set hive.compute.query.using.stats=false; on Beeline-Hive. This way, Hive would perform count on the basis of data present in HDFS through a MapReduce job.
I was able to setup and run the count query by following above steps. Below is screenshot. Please let me know if you any questions.
from oci-hdfs-connector.
@zhengwanbo - checking in here since we haven't heard back from you in a while. Did @omkar07's response resolve your issue?
from oci-hdfs-connector.
Hi @zhengwanbo - since we haven't heard back from you, we're resolving this issue. But feel free to reopen this if you are still experiencing problems.
from oci-hdfs-connector.
Related Issues (20)
- How to configure the filesystem implementation in spark configuration HOT 2
- BmcDataStore -> rename is not thread safe. throwing java.io.IOException: Unable to perform rename HOT 2
- OCI configurations get ignored in pyspark HOT 1
- The content type is not supported HOT 2
- Pyspark py4j.protocol.Py4JJavaError: An error occurred while calling o95.csv. HOT 3
- Missing fs.oci.buffer.dir HOT 5
- Support for Apache Flink HOT 2
- Add shading logic used to create oci-hdfs-full-<version>.jar HOT 4
- Potential data corruption issue for OCI HDFS Connector with RefreshableOnNotAuthenticatedProvider HOT 1
- There is a vulnerability in guava 28.0-jre,upgrade recommended HOT 1
- ls: Unable to fetch file status for HDFS, connector version: 3.3.0.3 HOT 1
- BmcDataStore -> renameDirectory fails to rename when a file has special characters(*,$,^,?,+,|) HOT 3
- presto access hive OCI object external table failed. return Unable to extract password HOT 6
- Full über jar contains unshaded problematic third party libraries HOT 3
- Closing stream and read fails, possible stale connection on upgrade from 3.2.1.3 to 3.3.0.7.0.1 with Jersey connector HOT 10
- Log4j vulnerability in OCI HDFS Connector HOT 6
- `ArrayIndexOutOfBoundsException` in read-ahead mode HOT 4
- OCI HDFS connector in read-ahead mode doesn't emit `bytesRead` input metric HOT 6
- Problem with certificates HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oci-hdfs-connector.