developers
2 Topics- Microsoft Azure DevOps – Azure Pipelines, Azure Boards + GitHub with Abel WangAzure DevOps for CI/CD Azure DevOps Services is a cloud service for collaborating on code development. It provides an integrated set of features that you access through your web browser or IDE client. The features are included, as follows: Git repositories for source control of your code Build and release services to support continuous integration and delivery of your apps Agile tools to support planning and tracking your work, code defects, and issues using Kanban and Scrum methods Many tools to test your apps, including manual/exploratory testing, load testing, and continuous testing Highly customizable dashboards for sharing progress and trends Built-in wiki for sharing information with your team The Azure DevOps ecosystem also provides support for adding extensions and integrating with other popular services, such as: Campfire, Slack, Trello, UserVoice, and more, and developing your own custom extensions. Read the complete blogpost and view Abel Wang's Awesome video here2.9KViews0likes0Comments
- Accessing Hortonworks Hive via c# applicationsHi, I am using hortonworks hadoop , i need to integrate c# application with hadoop to access tables stored in hive. I wrote a code for it but getting some errors regarding Microsoft odbc drivers but i have installed hortonworks drivers. still getting microsoft odbc error i need to access data from hadoop usning .net is it possible if possible then how? code is attached below plz. have a look using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data; using System.Data.Odbc; using System.Threading.Tasks; namespace Hadoopclient { class Program { static void Main(string[] args) { // @"dsn=Hadoop ODBC" var connectionString = @"DRIVER={Hortonworks Hive ODBC Driver}; Host=192.168.221.128; Port=10000; Schema=default; HiveServerType=2; ApplySSPWithQueries=1; AsyncExecPollInterval=100; HS2AuthMech=2; UserName=sandbox;"; var createTableCommandText = "CREATE TABLE Searches(searchTerm STRING, userid BIGINT,userIp STRING) " + "COMMENT 'Stores all searches for data' " + "PARTITIONED BY(searchTime DATE) " + "STORED AS SEQUENCEFILE;"; using (var connection = new OdbcConnection(connectionString)) { using (var command = new OdbcCommand(createTableCommandText, connection)) { try { connection.Open(); // Create a table. command.ExecuteNonQuery(); // Insert row of data. command.CommandText = "INSERT INTO TABLE Searches PARTITION (searchTime = '2015-02-08') " + "VALUES ('search term', 1, '127.0.0.1')"; command.ExecuteNonQuery(); // Reading data from Hadoop. command.CommandText = "SELECT * FROM Searches"; using (var reader = command.ExecuteReader()) { while (reader.Read()) { for (var i = 0; i < reader.FieldCount; i++) { Console.WriteLine(reader[i]); } } } } catch (OdbcException ex) { Console.WriteLine(ex.Message); throw; } finally { // Drop table command.CommandText = "DROP TABLE Searches"; command.ExecuteNonQuery(); } } } } } }3.5KViews0likes0Comments