alibaba / alibaba/DataX

hbase11xsqlreader连接phoenix问题

Open
#526 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
17.4k
Forks
5.7k
PR merge metrics
No merged PRs in 30d

Description

文件:HbaseSQLHelper
66行:
Connection con =
DriverManager.getConnection(connectionString);
修改为:
Properties properties =new Properties();
properties.setProperty("phoenix.schema.isNamespaceMappingEnabled", "true");
properties.setProperty("phoenix.schema.mapSystemTablesToNamespace", "true");
Connection con =
DriverManager.getConnection(connectionString,properties);

Contributor guide

No contributing guide indexed for this repository

Research direction

Open HbaseSQLHelper at line 66 and inspect how the Phoenix connection is created. Verify that the requested Phoenix namespace properties are used for the HBase 1.x SQL reader and confirm that it can connect to Phoenix; no test file is named in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
databases
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.